public class PendingWriteFuture extends AbstractIoWriteFuture implements SshFutureListener<IoWriteFuture>
CANCELED, debugEnabled, traceEnabled
log
Constructor and Description |
---|
PendingWriteFuture(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(Throwable cause) |
void |
setWritten() |
getException, isWritten, verify
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue, toString
asListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResult
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
validateListener
addListener, removeListener
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
verify, verify
public Buffer getBuffer()
public void setWritten()
public void setException(Throwable cause)
public void operationComplete(IoWriteFuture future)
SshFutureListener
SshFuture
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.Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.