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 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- theBufferto use- Returns:
- The
IoReadFuturefor the operation
-