public interface KeyExchangeFuture extends SshFuture<KeyExchangeFuture>, VerifiableFuture<KeyExchangeFuture>
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Returns the cause of the exchange failure.
|
addListener, removeListener
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone
verify, verify, verify
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).Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.