public abstract class IgfsCommunicationMessage extends Object implements Message
DIRECT_TYPE_SIZE
Constructor and Description |
---|
IgfsCommunicationMessage() |
Modifier and Type | Method and Description |
---|---|
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(Marshaller marsh,
ClassLoader ldr) |
void |
prepareMarshal(Marshaller marsh) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
directType, onAckReceived
public void prepareMarshal(Marshaller marsh) throws IgniteCheckedException
marsh
- Marshaller.IgniteCheckedException
- In case of error.public void finishUnmarshal(Marshaller marsh, @Nullable ClassLoader ldr) throws IgniteCheckedException
marsh
- Marshaller.ldr
- Class loader.IgniteCheckedException
- In case of error.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017