Package org.apache.mina.core.session
Class IdleStatusChecker.SessionCloseListener
- java.lang.Object
-
- org.apache.mina.core.session.IdleStatusChecker.SessionCloseListener
-
- All Implemented Interfaces:
java.util.EventListener,IoFutureListener<IoFuture>
- Enclosing class:
- IdleStatusChecker
private class IdleStatusChecker.SessionCloseListener extends java.lang.Object implements IoFutureListener<IoFuture>
-
-
Field Summary
-
Fields inherited from interface org.apache.mina.core.future.IoFutureListener
CLOSE
-
-
Constructor Summary
Constructors Constructor Description SessionCloseListener()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoperationComplete(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.
-
-
-
Method Detail
-
operationComplete
public void operationComplete(IoFuture future)
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
private void removeSession(AbstractIoSession session)
remove a session from the list of session being checked.- Parameters:
session- The session to remove
-
-