org.apache.mina.common
Interface IoFutureListener

All Superinterfaces:
EventListener

public interface IoFutureListener
extends EventListener

Something interested in being notified when the result of an IoFuture becomes available.

Version:
$Rev: 440259 $, $Date: 2006-09-05 07:01:47 +0200 (Tue, 05 Sep 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)

Field Summary
static IoFutureListener CLOSE
          An IoFutureListener that closes the IoSession which is associated with the specified IoFuture.
 
Method Summary
 void operationComplete(IoFuture future)
          Invoked when the operation associated with the IoFuture has been completed.
 

Field Detail

CLOSE

public static final IoFutureListener CLOSE
An IoFutureListener that closes the IoSession which is associated with the specified IoFuture.

Method Detail

operationComplete

public void operationComplete(IoFuture future)
Invoked when the operation associated with the IoFuture has been completed.

Parameters:
future - The source IoFuture which called this callback.