| An
IoFuture for asynchronous close requests.
Example
IoSession session = ...;
CloseFuture future = session.close();
// Wait until the connection is closed
future.awaitUninterruptibly();
// Now connection should be closed.
assert future.isClosed();
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 588579 $, $Date: 2007-10-26 03:21:01 -0600 (Fri, 26 Oct 2007) $ |