public interface KeyExchangeFuture extends SshFuture<KeyExchangeFuture>, VerifiableFuture<KeyExchangeFuture>
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getException()
Returns the cause of the exchange failure.
|
addListener, removeListener
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
verify, verify, verify
java.lang.Throwable 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).