public class PendingWriteFuture extends AbstractIoWriteFuture implements SshFutureListener<IoWriteFuture>
CANCELED
log
Constructor and Description |
---|
PendingWriteFuture(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
verify, verify
addListener, await0, cancel, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue
asListener, asT, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, notifyListener, verifyResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, removeListener
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone
verify, verify
public PendingWriteFuture(Buffer buffer)
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–2016 The Apache Software Foundation. All rights reserved.