public class PendingWriteFuture extends AbstractIoWriteFuture implements SshFutureListener<IoWriteFuture>
CANCELED
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() |
fulfilled, getException, isWritten, verify
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue, toString
asListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResult
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
validateListener
addListener, removeListener
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
verify, 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–2024 The Apache Software Foundation. All rights reserved.