public interface Message extends Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DIRECT_TYPE_SIZE
Direct type size in bytes.
|
Modifier and Type | Method and Description |
---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
static final int DIRECT_TYPE_SIZE
boolean writeTo(ByteBuffer buf, MessageWriter writer)
buf
- Byte buffer.writer
- Writer.boolean readFrom(ByteBuffer buf, MessageReader reader)
buf
- Byte buffer.reader
- Reader.short directType()
byte fieldsCount()
void onAckReceived()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019