Interface IoInputStream

All Superinterfaces:
AutoCloseable, Channel, Closeable, Closeable
All Known Implementing Classes:
AbstractClientChannel.NullIoInputStream, ChannelAsyncInputStream

public interface IoInputStream extends Closeable
Represents a stream that can be read asynchronously.
  • Method Details

    • read

      IoReadFuture read(Buffer buffer)
      NOTE: the buffer must not be touched until the returned read future is completed.
      Parameters:
      buffer - the Buffer to use
      Returns:
      The IoReadFuture for the operation