| Modifier and Type | Method and Description |
|---|---|
| public default void | bytesRead(S
the socket metric, null for UDP socketMetric, SocketAddress the remote address which this socket received bytes from remoteAddress, long the number of bytes read numberOfBytes)Called when bytes have been read |
| public default void | bytesWritten(S
the socket metric, null for UDP socketMetric, SocketAddress the remote address which bytes are being written to remoteAddress, long the number of bytes written numberOfBytes)Called when bytes have been written |
| public default void | exceptionOccurred(S
the socket metric, null for UDP socketMetric, SocketAddress the remote address of the connection or null if it's datagram/udp remoteAddress, Throwable the exception that occurred t)Called when exceptions occur for a specific connection. |
| bytesRead | back to summary |
|---|---|
| public default void bytesRead(S socketMetric, SocketAddress remoteAddress, long numberOfBytes) Called when bytes have been read
| |
| bytesWritten | back to summary |
|---|---|
| public default void bytesWritten(S socketMetric, SocketAddress remoteAddress, long numberOfBytes) Called when bytes have been written
| |
| exceptionOccurred | back to summary |
|---|---|
| public default void exceptionOccurred(S socketMetric, SocketAddress remoteAddress, Throwable t) Called when exceptions occur for a specific connection.
| |