Interface KeyExchangeFuture

All Superinterfaces:
SshFuture<KeyExchangeFuture>, VerifiableFuture<KeyExchangeFuture>, WaitableFuture
All Known Implementing Classes:
DefaultKeyExchangeFuture

public interface KeyExchangeFuture extends SshFuture<KeyExchangeFuture>, VerifiableFuture<KeyExchangeFuture>
Author:
Apache MINA SSHD Project
  • Method Details

    • getException

      Throwable getException()
      Returns the cause of the exchange failure.
      Returns:
      null if the exchange operation is not finished yet, or if the connection attempt is successful (use WaitableFuture.isDone() to distinguish between the two).