public class ClientListenerNioServerBuffer extends Object
| Constructor and Description |
|---|
ClientListenerNioServerBuffer() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
data()
Get data withing the buffer.
|
boolean |
isFilled()
Checks whether the byte array is filled.
|
@Nullable byte[] |
read(ByteBuffer buf) |
void |
reset()
Reset buffer state.
|
public void reset()
public boolean isFilled()
public byte[] data()
@Nullable public @Nullable 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 Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020