org.apache.mina.core.future
Interface IoFutureListener<F extends IoFuture>
- All Superinterfaces:
- EventListener
public interface IoFutureListener<F extends IoFuture>
- extends EventListener
Something interested in being notified when the completion
of an asynchronous I/O operation : IoFuture
.
- Version:
- $Rev: 713957 $, $Date: 2008-11-14 10:27:16 +0100 (Fr, 14 Nov 2008) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
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.
Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.