Class GridIoSecurityAwareMessage
- java.lang.Object
-
- org.apache.ignite.internal.managers.communication.GridIoMessage
-
- org.apache.ignite.internal.managers.communication.GridIoSecurityAwareMessage
-
- All Implemented Interfaces:
Serializable,SpanTransport,Message
public class GridIoSecurityAwareMessage extends GridIoMessage
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static shortTYPE_CODE-
Fields inherited from class org.apache.ignite.internal.managers.communication.GridIoMessage
STRIPE_DISABLED_PART
-
Fields inherited from interface org.apache.ignite.plugin.extensions.communication.Message
DIRECT_TYPE_SIZE
-
-
Constructor Summary
Constructors Constructor Description GridIoSecurityAwareMessage()No-op constructor to supportExternalizableinterface.GridIoSecurityAwareMessage(UUID secSubjId, byte plc, Object topic, int topicOrd, Message msg, boolean ordered, long timeout, boolean skipOnTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdirectType()Gets message type.bytefieldsCount()Gets fields count.booleanreadFrom(ByteBuffer buf, MessageReader reader)Reads this message from provided byte buffer.booleanwriteTo(ByteBuffer buf, MessageWriter writer)Writes this message to provided byte buffer.-
Methods inherited from class org.apache.ignite.internal.managers.communication.GridIoMessage
equals, executorName, hashCode, message, onAckReceived, partition, skipOnTimeout, span, span, timeout, toString
-
-
-
-
Field Detail
-
TYPE_CODE
public static final short TYPE_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GridIoSecurityAwareMessage
public GridIoSecurityAwareMessage()
No-op constructor to supportExternalizableinterface. This constructor is not meant to be used for other purposes.
-
GridIoSecurityAwareMessage
public GridIoSecurityAwareMessage(UUID secSubjId, byte plc, Object topic, int topicOrd, Message msg, boolean ordered, long timeout, boolean skipOnTimeout)
- Parameters:
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.
-
-
Method Detail
-
directType
public short directType()
Gets message type.- Specified by:
directTypein interfaceMessage- Overrides:
directTypein classGridIoMessage- Returns:
- Message type.
-
fieldsCount
public byte fieldsCount()
Gets fields count.- Specified by:
fieldsCountin interfaceMessage- Overrides:
fieldsCountin classGridIoMessage- Returns:
- Fields count.
-
writeTo
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
Writes this message to provided byte buffer.- Specified by:
writeToin interfaceMessage- Overrides:
writeToin classGridIoMessage- Parameters:
buf- Byte buffer.writer- Writer.- Returns:
- Whether message was fully written.
-
readFrom
public boolean readFrom(ByteBuffer buf, MessageReader reader)
Reads this message from provided byte buffer.- Specified by:
readFromin interfaceMessage- Overrides:
readFromin classGridIoMessage- Parameters:
buf- Byte buffer.reader- Reader.- Returns:
- Whether message was fully read.
-
-