public class PendingWriteFuture extends AbstractIoWriteFuture implements SshFutureListener<IoWriteFuture>
| Modifier and Type | Field and Description |
|---|---|
private Buffer |
buffer |
CANCELED, debugEnabled, traceEnabledlog| Constructor and Description |
|---|
PendingWriteFuture(java.lang.Object id,
Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
getBuffer() |
void |
operationComplete(IoWriteFuture future)
Invoked when the operation associated with the
SshFuture
has been completed even if you add the listener after the completion. |
void |
setException(java.lang.Throwable cause) |
void |
setWritten() |
getException, isWritten, verifyaddListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue, toStringasListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResultgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalidateListeneraddListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneverify, verifyprivate final Buffer buffer
public PendingWriteFuture(java.lang.Object id,
Buffer buffer)
public Buffer getBuffer()
public void setWritten()
public void setException(java.lang.Throwable cause)
public void operationComplete(IoWriteFuture future)
SshFutureListenerSshFuture
has been completed even if you add the listener after the completion.operationComplete in interface SshFutureListener<IoWriteFuture>future - The source SshFuture which called this
callback.