| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.mina.common.support.DefaultIoFutureorg.apache.mina.common.support.DefaultConnectFutureConnectFuture.
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 newConnectFuturewhich 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