|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An IoFuture for asynchronous close requests.
IoSession session = ...; CloseFuture future = session.close(); // Wait until the connection is closed future.join(); // Now connection should be closed. assert future.isClosed();
| Method Summary | |
boolean |
isClosed()
Returns true if the close request is finished and the session is closed. |
void |
setClosed()
Marks this future as closed and notifies all threads waiting for this future. |
| Methods inherited from interface org.apache.mina.common.IoFuture |
addListener, getLock, getSession, isReady, join, join, removeListener |
| Method Detail |
public boolean isClosed()
public void setClosed()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||