public class GridIoSecurityAwareMessage extends GridIoMessage
Modifier and Type | Field and Description |
---|---|
static short |
TYPE_CODE |
STRIPE_DISABLED_PART
DIRECT_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, span, span, timeout, toString
public 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 Message
directType
in class GridIoMessage
public byte fieldsCount()
fieldsCount
in interface Message
fieldsCount
in class GridIoMessage
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo
in interface Message
writeTo
in class GridIoMessage
buf
- Byte buffer.writer
- Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom
in interface Message
readFrom
in class GridIoMessage
buf
- Byte buffer.reader
- Reader.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021