Interface IoConnectFuture
- All Superinterfaces:
Cancellable, SshFuture<IoConnectFuture>, WaitableFuture, WithException
- All Known Implementing Classes:
DefaultIoConnectFuture
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetSession(IoSession session) Sets the newly connected session and notifies all threads waiting for this future.Methods inherited from interface Cancellable
cancel, getCancellation, isCanceledMethods inherited from interface SshFuture
addListener, removeListenerMethods inherited from interface WaitableFuture
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneMethods inherited from interface WithException
getException, setException
-
Method Details
-
getSession
-
isConnected
boolean isConnected()- Returns:
- true if the connect operation is finished successfully.
-
setSession
-