Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.mina.common.support.DefaultIoFuture
org.apache.mina.common.support.DefaultConnectFuture
ConnectFuture
.
Constructor Summary | |
| |
|
Method Summary | |
@Override | |
boolean | |
static ConnectFuture |
|
void |
|
void |
|
Methods inherited from class org.apache.mina.common.support.DefaultIoFuture | |
addListener , getLock , getSession , getValue , isReady , join , join , removeListener , setValue |
public DefaultConnectFuture()
Creates a new instance.
public DefaultConnectFuture(Object lock)
Creates a new instance which uses the specified object as a lock.
public static ConnectFuture newFailedFuture(Throwable exception)
Returns a newConnectFuture
which is already marked as 'failed to connect'.
public void setException(Throwable exception)
- Specified by:
- setException in interface ConnectFuture
public void setSession(IoSession session)
- Specified by:
- setSession in interface ConnectFuture