Method that decodes ByteBuffers to objects.
Method that decodes ByteBuffers to objects. None reflects not enough data to decode a message Any unused data in the ByteBuffer will be recycled and available for the next read.
WARNING: don't count on the underlying array of the ByteBuffer. This uses the slice method, which could preserve access to the buffer, but mess with the various positions.
ByteBuffer of immediately available data
optional message if enough data was available
Encode objects to buffers
Encode objects to buffers
object to decode
sequence of ByteBuffers to pass to the head
Receives inbound commands Override to capture commands.
Receives outbound commands Override to capture commands.
A simple default that serializes the write requests into the single element form.
A simple default that serializes the write requests into the single element form. It almost certainly should be overwritten
sequence of elements which are to be written
Future which will resolve when pipeline is ready for more data or fails