Top Description Methods
org.apache.sshd.common.io

public Interface IoInputStream

extends Closeable
Imports
org.apache.sshd.common.Closeable, org.apache.sshd.common.util.buffer.Buffer

Represents a stream that can be read asynchronously.
Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public IoReadFuture

Returns:

The IoReadFuture for the operation
read
(Buffer
the Buffer to use
buffer
)

Note

the buffer must not be touched until the returned read future is completed.

Inherited from org.apache.sshd.common.Closeable:
addCloseFutureListenerclosecloseclosegetMaxCloseWaitTimeisClosedisClosingisOpenremoveCloseFutureListener

Method Detail

readback to summary
public IoReadFuture read(Buffer buffer)

Note

the buffer must not be touched until the returned read future is completed.

Parameters
buffer:Buffer

the Buffer to use

Returns:IoReadFuture

The IoReadFuture for the operation