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.

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 Details

CLOSE

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

Method Details

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.