Package org.apache.sshd.common.future
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
getException()
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
-
Methods inherited from interface org.apache.sshd.common.future.WaitableFuture
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
-
-
-
Method Detail
-
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 (useWaitableFuture.isDone()
to distinguish between the two).
-
-