Package org.apache.sshd.common.io
Interface IoInputStream
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
,Closeable
- All Known Implementing Classes:
AbstractClientChannel.NullIoInputStream
,ChannelAsyncInputStream
Represents a stream that can be read asynchronously.
-
Method Summary
Modifier and TypeMethodDescriptionNOTE: 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 Details
-
read
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
-