Indicates that this channel will not read more data.
Indicates that this channel will not read more data. Causes End-Of-Stream
be signalled to available
.
Indicates to peer, we are done writing.
Indicates to peer, we are done writing. *
Reads up to maxBytes
from the peer.
Reads up to maxBytes
from the peer.
Returns None
if the "end of stream" is reached, indicating there will be no more bytes sent.
Reads exactly numBytes
from the peer in a single chunk.
Reads exactly numBytes
from the peer in a single chunk.
Returns a chunk with size < numBytes
upon reaching the end of the stream.
Reads bytes from the socket as a stream.
Reads bytes from the socket as a stream.
Writes bytes
to the peer.
Writes bytes
to the peer.
Completes when the bytes are written to the socket.
Writes the supplied stream of bytes to this socket via write
semantics.
Writes the supplied stream of bytes to this socket via write
semantics.
(Since version ) see corresponding Javadoc for more information.