Top Methods
org.apache.sshd.common.future

public Interface KeyExchangeFuture

extends SshFuture<KeyExchangeFuture>, VerifiableFuture<KeyExchangeFuture>
Known Direct Implementers
org.apache.sshd.common.future.DefaultKeyExchangeFuture

Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

null if the exchange operation is not finished yet, or if the connection attempt is successful (use isDone() to distinguish between the two).
getException
()

Returns the cause of the exchange failure.

Inherited from org.apache.sshd.common.future.SshFuture:
addListenerremoveListener
Inherited from org.apache.sshd.common.future.VerifiableFuture:
verifyverifyverifyverifyverifyverifyverifyverify

Method Detail

getExceptionback to summary
public Throwable getException()

Returns the cause of the exchange failure.

Returns:Throwable

null if the exchange operation is not finished yet, or if the connection attempt is successful (use isDone() to distinguish between the two).