|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.common.support.DefaultIoFuture
org.apache.mina.common.support.DefaultCloseFuture
public class DefaultCloseFuture
A default implementation of CloseFuture
.
Constructor Summary | |
---|---|
DefaultCloseFuture(IoSession session)
Creates a new instance. |
|
DefaultCloseFuture(IoSession session,
java.lang.Object lock)
Creates a new instance which uses the specified object as a lock. |
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 class org.apache.mina.common.support.DefaultIoFuture |
---|
addListener, getLock, getSession, getValue, isReady, join, join, removeListener, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.mina.common.IoFuture |
---|
addListener, getLock, getSession, isReady, join, join, removeListener |
Constructor Detail |
---|
public DefaultCloseFuture(IoSession session)
public DefaultCloseFuture(IoSession session, java.lang.Object lock)
Method Detail |
---|
public boolean isClosed()
CloseFuture
isClosed
in interface CloseFuture
public void setClosed()
CloseFuture
setClosed
in interface CloseFuture
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |