Interface OpenFuture
- All Superinterfaces:
Cancellable, HasException, SshFuture<OpenFuture>, VerifiableFuture<OpenFuture>, WaitableFuture, WithException
- All Known Implementing Classes:
DefaultOpenFuture
public interface OpenFuture
extends SshFuture<OpenFuture>, VerifiableFuture<OpenFuture>, Cancellable
An
SshFuture for asynchronous channel opening requests.-
Method Summary
Methods inherited from interface Cancellable
cancel, getCancellation, isCanceledMethods inherited from interface HasException
getExceptionMethods inherited from interface SshFuture
addListener, removeListenerMethods inherited from interface VerifiableFuture
verify, verify, verify, verify, verify, verify, verify, verifyMethods inherited from interface WaitableFuture
await, await, await, await, await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneMethods inherited from interface WithException
setException
-
Method Details
-
isOpened
boolean isOpened()- Returns:
trueif the connect operation is finished successfully.
-
setOpened
void setOpened()Sets the newly connected session and notifies all threads waiting for this future. This method is invoked by SSHD internally. Please do not call this method directly.
-