Top Description Fields Constructors Methods
org.apache.sshd.common.session.helpers

public Class PendingWriteFuture

extends AbstractIoWriteFuture
implements SshFutureListener<IoWriteFuture>
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.future.SshFutureListener, org.apache.sshd.common.util.SshdEventListener, java.util.EventListener
Imports
java.util.Objects, org.apache.sshd.common.future.SshFutureListener, org.apache.sshd.common.io.AbstractIoWriteFuture, .IoWriteFuture, org.apache.sshd.common.util.buffer.Buffer

Future holding a packet pending key exchange termination.
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final Buffer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Buffer
public void
operationComplete(IoWriteFuture
The source SshFuture which called this callback.
future
)

Implements org.apache.sshd.common.future.SshFutureListener.operationComplete.

Invoked when the operation associated with the SshFuture has been completed even if you add the listener after the completion.

public void
public void
Inherited from org.apache.sshd.common.io.AbstractIoWriteFuture:
fulfilledgetExceptionisWrittenverify

Field Detail

bufferback to summary
private final Buffer buffer

Constructor Detail

PendingWriteFutureback to summary
public PendingWriteFuture(Object id, Buffer buffer)

Method Detail

getBufferback to summary
public Buffer getBuffer()
operationCompleteback to summary
public void operationComplete(IoWriteFuture future)

Implements org.apache.sshd.common.future.SshFutureListener.operationComplete.

Doc from org.apache.sshd.common.future.SshFutureListener.operationComplete.

Invoked when the operation associated with the SshFuture has been completed even if you add the listener after the completion.

Parameters
future:IoWriteFuture

The source SshFuture which called this callback.

Annotations
@Override
setExceptionback to summary
public void setException(Throwable cause)
setWrittenback to summary
public void setWritten()