|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.mina.common.support.DefaultIoFuture
org.littleshoot.mina.common.support.DefaultCloseFuture
public class DefaultCloseFuture
A default implementation of CloseFuture.
| Constructor Summary | |
|---|---|
DefaultCloseFuture(IoSession session)
Creates a new instance. |
|
DefaultCloseFuture(IoSession session,
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.littleshoot.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.littleshoot.mina.common.IoFuture |
|---|
addListener, getLock, getSession, isReady, join, join, removeListener |
| Constructor Detail |
|---|
public DefaultCloseFuture(IoSession session)
public DefaultCloseFuture(IoSession session,
Object lock)
| Method Detail |
|---|
public boolean isClosed()
CloseFuture
isClosed in interface CloseFuturepublic void setClosed()
CloseFuture
setClosed in interface CloseFuture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||