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,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 org.apache.sshd.common.util.logging.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 org.apache.sshd.common.io.AbstractIoWriteFuture
fulfilled, getException, isWritten, verifyMethods inherited from class org.apache.sshd.common.future.DefaultSshFuture
addListener, await0, createCancellation, getNumRegisteredListeners, getValue, isDone, notifyListeners, onValueSet, removeListener, setValue, toStringMethods inherited from class org.apache.sshd.common.future.AbstractSshFuture
asListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResultMethods inherited from class org.apache.sshd.common.util.logging.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sshd.common.future.SshFuture
addListener, removeListenerMethods inherited from interface org.apache.sshd.common.future.VerifiableFuture
verify, verify, verifyMethods inherited from interface org.apache.sshd.common.future.WaitableFuture
await, await, await, await, 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.
-