T
- The type of the buffer. It's either a ByteBuffer
or a ByteBuf
.public interface BoundedReceive<T> extends Receive
Receive
to use any kinds of data structure to buffer the
incoming request or response from the network.Modifier and Type | Method and Description |
---|---|
T |
getAndRelease()
Return the buffer and transfer the ownership of this buffer to the caller.
|
long |
sizeRead()
The size of read bytes from the network layer.
|
isReadComplete, readFrom
T getAndRelease()
long sizeRead()