public class IdleStatusChecker extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
IdleStatusChecker.NotifyingTask
The class to place in the transport executor for checking the sessions idle
|
| Constructor and Description |
|---|
IdleStatusChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(AbstractIoSession session)
Add the session for being checked for idle.
|
IdleStatusChecker.NotifyingTask |
getNotifyingTask()
get a runnable task able to be scheduled in the
IoService executor. |
public void addSession(AbstractIoSession session)
session - the session to checkpublic IdleStatusChecker.NotifyingTask getNotifyingTask()
IoService executor.