public final class AbstractPollingIoConnector.ConnectionRequest extends DefaultConnectFuture
Constructor and Description |
---|
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, setSession
await, await, awaitUninterruptibly, awaitUninterruptibly, getValue, isDone, join, join, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
await, await, awaitUninterruptibly, awaitUninterruptibly, isDone, join, join
public ConnectionRequest(H handle, IoSessionInitializer<? extends ConnectFuture> callback)
public H getHandle()
public long getDeadline()
public IoSessionInitializer<? extends ConnectFuture> getSessionInitializer()
public void cancel()
ConnectFuture
cancel
in interface ConnectFuture
cancel
in class DefaultConnectFuture
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.