Package org.apache.sshd.common.io
Interface IoWriteFuture
- All Superinterfaces:
SshFuture<IoWriteFuture>,VerifiableFuture<IoWriteFuture>,WaitableFuture
- All Known Implementing Classes:
AbstractIoWriteFuture,ChannelAsyncOutputStream.BufferedFuture,IoWriteFutureImpl,Nio2DefaultIoWriteFuture,PendingWriteFuture,SimpleIoOutputStream.DefaultIoWriteFuture
-
Method Summary
Methods inherited from interface org.apache.sshd.common.future.SshFuture
addListener, removeListenerMethods inherited from interface org.apache.sshd.common.future.VerifiableFuture
verify, verify, verify, verifyMethods inherited from interface org.apache.sshd.common.future.WaitableFuture
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
Method Details
-
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.
-