Package org.apache.sshd.common.io
Interface IoInputStream
-
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
,Closeable
- All Known Implementing Classes:
ChannelAsyncInputStream
public interface IoInputStream extends Closeable
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.Closeable
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IoReadFuture
read(Buffer buffer)
NOTE: the buffer must not be touched until the returned read future is completed.-
Methods inherited from interface org.apache.sshd.common.Closeable
addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListener
-
-
-
-
Method Detail
-
read
IoReadFuture read(Buffer buffer)
NOTE: the buffer must not be touched until the returned read future is completed.- Parameters:
buffer
- theBuffer
to use- Returns:
- The
IoReadFuture
for the operation
-
-