public static class ChannelAsyncOutputStream.IoWriteFutureImpl extends DefaultSshFuture<IoWriteFuture> implements IoWriteFuture
| Constructor and Description |
|---|
ChannelAsyncOutputStream.IoWriteFutureImpl(Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
getBuffer() |
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, cancel, getValue, isCanceled, isDone, removeListener, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListenerpublic ChannelAsyncOutputStream.IoWriteFutureImpl(Buffer buffer)
public Buffer getBuffer()
public void verify()
throws SshException
IoWriteFutureverify in interface IoWriteFutureSshException - if the write failed for any reasonpublic boolean isWritten()
IoWriteFutureisWritten in interface IoWriteFuturepublic Throwable getException()
IoWriteFutureException. Otherwise,
null is returned.getException in interface IoWriteFutureCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.