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