org.apache.mina.common
Interface IoFutureListener<F extends IoFuture>

All Superinterfaces:
EventListener

public interface IoFutureListener<F extends IoFuture>
extends EventListener

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

Version:
$Rev: 588579 $, $Date: 2007-10-26 11:21:01 +0200 (Fri, 26 Oct 2007) $
Author:
The Apache MINA Project (dev@mina.apache.org)

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

Field Detail

CLOSE

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

Method Detail

operationComplete

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

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


Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.