abstract fun connected(remoteAddress: SocketAddress, remoteName: String): S
Called when a client has connected, which is applicable for TCP connections. The remote name of the client is a best effort to provide the name of the remote host, i.e if the name is specified at creation time, this name will be used otherwise it will be the remote address.
remoteAddress - the remote address of the client
remoteName - the remote name of the client
Return
the socket metric