Class IdleStatusChecker.SessionCloseListener
java.lang.Object
org.apache.mina.core.session.IdleStatusChecker.SessionCloseListener
- All Implemented Interfaces:
EventListener, IoFutureListener<IoFuture>
- Enclosing class:
IdleStatusChecker
private class IdleStatusChecker.SessionCloseListener
extends Object
implements IoFutureListener<IoFuture>
-
Field Summary
Fields inherited from interface IoFutureListener
CLOSE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoperationComplete(IoFuture future) Invoked when the operation associated with theIoFuturehas been completed even if you add the listener after the completion.private voidremoveSession(AbstractIoSession session) remove a session from the list of session being checked.
-
Constructor Details
-
SessionCloseListener
public SessionCloseListener()Default constructor
-
-
Method Details
-
operationComplete
Invoked when the operation associated with theIoFuturehas been completed even if you add the listener after the completion.- Specified by:
operationCompletein interfaceIoFutureListener<IoFuture>- Parameters:
future- The sourceIoFuturewhich called this callback.
-
removeSession
remove a session from the list of session being checked.- Parameters:
session- The session to remove
-