org.apache.mina.core.future
Interface IoFutureListener<F extends IoFuture>
- All Superinterfaces:
- java.util.EventListener
public interface IoFutureListener<F extends IoFuture>
- extends java.util.EventListener
Something interested in being notified when the completion
of an asynchronous I/O operation : IoFuture
.
- Author:
- Apache MINA Project
Method Summary |
void |
operationComplete(F future)
Invoked when the operation associated with the IoFuture
has been completed even if you add the listener after the completion. |
CLOSE
static final IoFutureListener<IoFuture> CLOSE
- An
IoFutureListener
that closes the IoSession
which is
associated with the specified IoFuture
.
operationComplete
void operationComplete(F future)
- Invoked when the operation associated with the
IoFuture
has been completed even if you add the listener after the completion.
- Parameters:
future
- The source IoFuture
which called this
callback.