public abstract class GridNioServerListenerAdapter<T> extends Object implements GridNioServerListener<T>
| Constructor and Description |
|---|
GridNioServerListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(FailureType failureType,
Throwable failure)
Called when critical failure occurs in server implementation.
|
void |
onMessageSent(GridNioSession ses,
T msg)
Handle message sent.
|
void |
onSessionIdleTimeout(GridNioSession ses)
Called when session did not receive any activity within timeout interval.
|
void |
onSessionWriteTimeout(GridNioSession ses)
Called when session has non-empty write queue and server did not send any data
within timeout interval.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonConnected, onDisconnected, onMessagepublic void onSessionWriteTimeout(GridNioSession ses)
onSessionWriteTimeout in interface GridNioServerListener<T>ses - Session that has timed out writes.public void onSessionIdleTimeout(GridNioSession ses)
onSessionIdleTimeout in interface GridNioServerListener<T>ses - Session that is idle.public void onMessageSent(GridNioSession ses, T msg)
onMessageSent in interface GridNioServerListener<T>ses - Session.msg - Message.public void onFailure(FailureType failureType, Throwable failure)
GridNioServerListeneronFailure in interface GridNioServerListener<T>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018