Class PendingWriteFuture
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.future.AbstractSshFuture<IoWriteFuture>
org.apache.sshd.common.future.DefaultSshFuture<IoWriteFuture>
org.apache.sshd.common.future.DefaultVerifiableSshFuture<IoWriteFuture>
org.apache.sshd.common.io.AbstractIoWriteFuture
org.apache.sshd.common.session.helpers.PendingWriteFuture
- All Implemented Interfaces:
EventListener, HasException, SshFuture<IoWriteFuture>, SshFutureListener<IoWriteFuture>, VerifiableFuture<IoWriteFuture>, WaitableFuture, IoWriteFuture, SshdEventListener
public class PendingWriteFuture
extends AbstractIoWriteFuture
implements SshFutureListener<IoWriteFuture>
Future holding a packet pending key exchange termination.
-
Field Summary
FieldsFields inherited from class AbstractLoggingBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoperationComplete(IoWriteFuture future) Invoked when the operation associated with theSshFuturehas been completed even if you add the listener after the completion.voidsetException(Throwable cause) voidMethods inherited from class AbstractIoWriteFuture
fulfilled, getException, isWritten, verifyMethods inherited from class DefaultSshFuture
addListener, await0, createCancellation, getNumRegisteredListeners, getValue, isDone, notifyListeners, onValueSet, removeListener, setValue, toStringMethods inherited from class AbstractSshFuture
asListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResultMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SshFuture
addListener, removeListenerMethods inherited from interface VerifiableFuture
verify, verify, verify, verify, verify, verify, verifyMethods inherited from interface WaitableFuture
await, await, await, await, await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
Field Details
-
buffer
-
-
Constructor Details
-
PendingWriteFuture
-
-
Method Details
-
getBuffer
-
setWritten
public void setWritten() -
setException
-
operationComplete
Description copied from interface:SshFutureListenerInvoked when the operation associated with theSshFuturehas been completed even if you add the listener after the completion.- Specified by:
operationCompletein interfaceSshFutureListener<IoWriteFuture>- Parameters:
future- The sourceSshFuturewhich called this callback.
-