public interface IoWriteFuture extends SshFuture<IoWriteFuture>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getException()
Returns the cause of the write failure if and only if the write
operation has failed due to an
Exception. |
boolean |
isWritten()
Returns true if the write operation is finished successfully.
|
void |
setException(java.lang.Throwable cause)
Sets the cause of the write failure, and notifies all threads waiting
for this future.
|
void |
setWritten()
Sets the message is written, and notifies all threads waiting for
this future.
|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListenerboolean isWritten()
java.lang.Throwable getException()
Exception. Otherwise,
null is returned.void setWritten()
void setException(java.lang.Throwable cause)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.