public class IdleStatusChecker
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
class |
IdleStatusChecker.NotifyingTask
The class to place in the transport executor for checking the sessions idle
|
构造器和说明 |
---|
IdleStatusChecker() |
限定符和类型 | 方法和说明 |
---|---|
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.