public class GridNioServerBuffer extends Object
Constructor and Description |
---|
GridNioServerBuffer() |
Modifier and Type | Method and Description |
---|---|
byte[] |
data()
Get data withing the buffer.
|
boolean |
isFilled()
Checks whether the byte array is filled.
|
byte[] |
read(ByteBuffer buf) |
void |
reset() |
public void reset()
public boolean isFilled()
public byte[] data()
@Nullable public byte[] read(ByteBuffer buf) throws IgniteCheckedException
buf
- Buffer.null
if message is not fully read yet.IgniteCheckedException
- If failed to parse message.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017