public interface ClientConnectionMonitor extends FatalFailureMonitor, net.openhft.chronicle.wire.Marshallable
LOG, NO_OP| Modifier and Type | Method and Description |
|---|---|
void |
onConnected(@Nullable String name,
@Nullable SocketAddress socketAddress)
Call just after the client as successfully established a connection to the server
|
void |
onDisconnected(@Nullable String name,
@Nullable SocketAddress socketAddress)
call just after the client has disconnect to the server, this maybe called as part of a
failover
|
onFatalFailure$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallablevoid onConnected(@Nullable
@Nullable String name,
@Nullable
@Nullable SocketAddress socketAddress)
name - the name of the connectionsocketAddress - the address that we have just connected to or @null if not knownvoid onDisconnected(@Nullable
@Nullable String name,
@Nullable
@Nullable SocketAddress socketAddress)
name - the name of the connectionsocketAddress - the address of the socket that we have been disconnected from or @null if not knownCopyright © 2023. All rights reserved.