public interface TCPMetrics<S> extends NetworkMetrics<S>
VertxMetrics
createMetrics
method that created and returned
this metrics object.
Modifier and Type | Method and Description |
---|---|
S |
connected(SocketAddress remoteAddress)
Called when a client has connected, which is applicable for TCP connections.
|
void |
disconnected(S socketMetric,
SocketAddress remoteAddress)
Called when a client has disconnected, which is applicable for TCP connections.
|
bytesRead, bytesWritten, exceptionOccurred
S connected(SocketAddress remoteAddress)
remoteAddress
- the remote address of the clientvoid disconnected(S socketMetric, SocketAddress remoteAddress)
socketMetric
- the socket metricremoteAddress
- the remote address of the clientCopyright © 2015. All rights reserved.