public interface IoWriteFuture extends SshFuture<IoWriteFuture>
Modifier and Type | Method and Description |
---|---|
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 |
verify()
Wait and verify that the write succeeded.
|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListener
void verify() throws SshException
SshException
- if the write failed for any reasonboolean isWritten()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.