public interface KeyExchangeFuture extends SshFuture<KeyExchangeFuture>, VerifiableFuture<KeyExchangeFuture>
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
Returns the cause of the exchange failure.
|
addListener, removeListenerawait, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneverify, verify, verify, verifyThrowable getException()
null 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–2021 The Apache Software Foundation. All rights reserved.