public interface IoConnectFuture extends SshFuture<IoConnectFuture>, Cancellable
| Modifier and Type | Method and Description |
|---|---|
IoSession |
getSession() |
boolean |
isConnected() |
void |
setSession(IoSession session)
Sets the newly connected session and notifies all threads waiting for this future.
|
addListener, removeListenerawait, await, await, await, await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDonecancel, getCancellation, isCanceledsetExceptiongetExceptionIoSession getSession()
IoSession - may be null if connect operation not finished yet or attempt has
failedHasException.getException()boolean isConnected()
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.