public interface TransportDisconnectHandler
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(Transport transport,
java.lang.Exception e_)
Called by the Transport whenever the underlying socket is disconnected.
|
void |
preInvoke(int connectionVersion)
Called before invoke by the transport with a monotonically increasing "connection version" integer
that is incremented upon each reconnect.
|
void invoke(Transport transport, java.lang.Exception e_)
transport - The calling transport that was disconnected.e_ - The cause of the disconnect.void preInvoke(int connectionVersion)
connectionVersion - The integer that is incremented upon each reconnect.