public class DefaultOpenFuture extends DefaultCancellableSshFuture<OpenFuture> implements OpenFuture
OpenFuture.log| Constructor and Description |
|---|
DefaultOpenFuture(Object id,
Object lock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOpened() |
void |
setOpened()
Sets the newly connected session and notifies all threads waiting for this future.
|
OpenFuture |
verify(long timeoutMillis,
CancelOption... options) |
cancel, createCancellation, getCancellation, getException, isCanceled, setExceptionaddListener, await0, getNumRegisteredListeners, getValue, isDone, notifyListeners, onValueSet, removeListener, setValue, toStringasListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResultdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, removeListenerawait, await, await, await, await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneverify, verify, verify, verify, verify, verify, verifycancel, getCancellation, isCanceledsetExceptiongetExceptionpublic OpenFuture verify(long timeoutMillis, CancelOption... options) throws IOException
verify in interface VerifiableFuture<OpenFuture>IOExceptionpublic boolean isOpened()
isOpened in interface OpenFuturetrue if the connect operation is finished successfully.public void setOpened()
OpenFuturesetOpened in interface OpenFutureCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.