public class DefaultKeyExchangeFuture extends DefaultVerifiableSshFuture<KeyExchangeFuture> implements KeyExchangeFuture
CANCELEDlog| Constructor and Description |
|---|
DefaultKeyExchangeFuture(Object lock) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
Returns the cause of the exchange failure.
|
KeyExchangeFuture |
verify(long timeoutMillis)
Wait and verify that the operation was successful
|
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValueasListener, asT, await, awaitUninterruptibly, notifyListener, verifyResultgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDoneverify, verifypublic DefaultKeyExchangeFuture(Object lock)
public KeyExchangeFuture verify(long timeoutMillis) throws IOException
VerifiableFutureverify in interface VerifiableFuture<KeyExchangeFuture>timeoutMillis - Wait timeout in millisecondsIOException - If failed to verify successfully on timepublic 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–2017 The Apache Software Foundation. All rights reserved.