public class DefaultDisconnectHandler extends java.lang.Object implements ClientDisconnectHandler, TransportDisconnectHandler
ClientDisconnectHandler and
TransportDisconnectHandler interfaces that does nothing.| Modifier and Type | Field and Description |
|---|---|
static DefaultDisconnectHandler |
instance
Singleton instance of DefaultDisconnectHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(Client client)
Invokes the disconnection handler for the client.
|
void |
invoke(Transport transport,
java.lang.Exception e_)
Invokes the disconnection handler for the transport.
|
void |
preInvoke(int version)
Pre-invocation setup for the disconnection handler.
|
public static final DefaultDisconnectHandler instance
public void invoke(Client client)
invoke in interface ClientDisconnectHandlerclient - The client being disconnected.public void invoke(Transport transport, java.lang.Exception e_)
invoke in interface TransportDisconnectHandlertransport - The transport being disconnected.e_ - The exception associated with the disconnection.public void preInvoke(int version)
preInvoke in interface TransportDisconnectHandlerversion - The version of the disconnection.