public final class AbstractPollingIoConnector.ConnectionRequest extends DefaultConnectFuture
| Constructor and Description |
|---|
AbstractPollingIoConnector.ConnectionRequest(H handle,
IoSessionInitializer<? extends ConnectFuture> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the connection attempt and notifies all threads waiting for
this future.
|
long |
getDeadline() |
H |
getHandle() |
IoSessionInitializer<? extends ConnectFuture> |
getSessionInitializer() |
addListener, await, awaitUninterruptibly, getException, getSession, isCanceled, isConnected, newFailedFuture, removeListener, setException, setSessionawait, await, awaitUninterruptibly, awaitUninterruptibly, getValue, isDone, join, join, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawait, await, awaitUninterruptibly, awaitUninterruptibly, isDone, join, joinpublic AbstractPollingIoConnector.ConnectionRequest(H handle, IoSessionInitializer<? extends ConnectFuture> callback)
public H getHandle()
public long getDeadline()
public IoSessionInitializer<? extends ConnectFuture> getSessionInitializer()
public void cancel()
ConnectFuturecancel in interface ConnectFuturecancel in class DefaultConnectFuture