Package org.apache.sshd.common.io
Interface IoWriteFuture
- All Superinterfaces:
SshFuture<IoWriteFuture>
,VerifiableFuture<IoWriteFuture>
,WaitableFuture
- All Known Implementing Classes:
AbstractIoWriteFuture
,IoWriteFutureImpl
,Nio2DefaultIoWriteFuture
,PendingWriteFuture
,SimpleIoOutputStream.DefaultIoWriteFuture
-
Method Summary
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 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,null
is returned (useWaitableFuture.isDone()
to distinguish between the two.
-