public class VanillaClientConnectionMonitor extends net.openhft.chronicle.wire.AbstractMarshallableCfg implements ClientConnectionMonitor
LOG, NO_OP| Constructor and Description |
|---|
VanillaClientConnectionMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onConnected(String name,
@Nullable SocketAddress socketAddress)
Call just after the client as successfully established a connection to the server
|
void |
onDisconnected(String name,
@Nullable SocketAddress socketAddress)
call just after the client has disconnect to the server, this maybe called as part of a
failover
|
readMarshallable, unexpectedField, writeMarshallableusesSelfDescribingMessageequals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitonFatalFailure$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallablebinaryLengthLength, writeValuepublic void onConnected(String name, @Nullable @Nullable SocketAddress socketAddress)
ClientConnectionMonitoronConnected in interface ClientConnectionMonitorname - the name of the connectionsocketAddress - the address that we have just connected to or @null if not knownpublic void onDisconnected(String name, @Nullable @Nullable SocketAddress socketAddress)
ClientConnectionMonitoronDisconnected in interface ClientConnectionMonitorname - 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.