public class GridIoSecurityAwareMessage extends GridIoMessage
| Modifier and Type | Field and Description |
|---|---|
static short |
TYPE_CODE |
STRIPE_DISABLED_PARTDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridIoSecurityAwareMessage()
No-op constructor to support
Externalizable interface. |
GridIoSecurityAwareMessage(UUID secSubjId,
byte plc,
Object topic,
int topicOrd,
Message msg,
boolean ordered,
long timeout,
boolean skipOnTimeout) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
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.
|
equals, executorName, hashCode, message, onAckReceived, partition, skipOnTimeout, timeout, toStringpublic static final short TYPE_CODE
public GridIoSecurityAwareMessage()
Externalizable interface.
This constructor is not meant to be used for other purposes.public GridIoSecurityAwareMessage(UUID secSubjId, byte plc, Object topic, int topicOrd, Message msg, boolean ordered, long timeout, boolean skipOnTimeout)
secSubjId - Security subject id.plc - Policy.topic - Communication topic.topicOrd - Topic ordinal value.msg - Message.ordered - Message ordered flag.timeout - Timeout.skipOnTimeout - Whether message can be skipped on timeout.public short directType()
directType in interface MessagedirectType in class GridIoMessagepublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridIoMessagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridIoMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridIoMessagebuf - Byte buffer.reader - Reader.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020