public class IdleStatusChecker extends Object
Modifier and Type | Class | Description |
---|---|---|
class |
IdleStatusChecker.NotifyingTask |
The class to place in the transport executor for checking the sessions idle
|
Constructor | Description |
---|---|
IdleStatusChecker() |
Modifier and Type | Method | 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.Copyright © 2004–2018 Apache MINA Project. All rights reserved.