Interface KeyExchangeFuture

All Superinterfaces:
org.apache.sshd.common.future.SshFuture<KeyExchangeFuture>, org.apache.sshd.common.future.VerifiableFuture<KeyExchangeFuture>, org.apache.sshd.common.future.WaitableFuture
All Known Implementing Classes:
DefaultKeyExchangeFuture

public interface KeyExchangeFuture extends org.apache.sshd.common.future.SshFuture<KeyExchangeFuture>, org.apache.sshd.common.future.VerifiableFuture<KeyExchangeFuture>
Author:
Apache MINA SSHD Project
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the cause of the exchange failure.

    Methods inherited from interface org.apache.sshd.common.future.SshFuture

    addListener, removeListener

    Methods inherited from interface org.apache.sshd.common.future.VerifiableFuture

    verify, verify, verify, verify, verify, verify, verify, verify

    Methods inherited from interface org.apache.sshd.common.future.WaitableFuture

    await, await, await, await, await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
  • 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).