public class DefaultKeyExchangeFuture extends DefaultVerifiableSshFuture<KeyExchangeFuture> implements KeyExchangeFuture
CANCELED, debugEnabled, traceEnabledlog| Constructor and Description |
|---|
DefaultKeyExchangeFuture(Object id,
Object lock) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
Returns the cause of the exchange failure.
|
KeyExchangeFuture |
verify(long timeoutMillis) |
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue, toStringasListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResultgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneverify, verifypublic KeyExchangeFuture verify(long timeoutMillis) throws IOException
verify in interface VerifiableFuture<KeyExchangeFuture>IOExceptionpublic Throwable getException()
KeyExchangeFuturegetException in interface KeyExchangeFuturenull if the exchange operation is not finished yet,
or if the connection attempt is successful (use WaitableFuture.isDone() to
distinguish between the two).Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.