Package org.apache.sshd.common.io
Interface IoWriteFuture
-
- All Superinterfaces:
SshFuture<IoWriteFuture>,VerifiableFuture<IoWriteFuture>,WaitableFuture
- All Known Implementing Classes:
AbstractIoWriteFuture
public interface IoWriteFuture extends SshFuture<IoWriteFuture>, VerifiableFuture<IoWriteFuture>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThrowablegetException()booleanisWritten()-
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
-
isWritten
boolean isWritten()
- Returns:
- true if the write operation is finished successfully.
-
getException
Throwable getException()
- Returns:
- the cause of the write failure if and only if the write operation has failed due to an
Exception. Otherwise,nullis returned (useWaitableFuture.isDone()to distinguish between the two.
-
-