IClientMessage Interface |
Namespace: Hazelcast.Client.Protocol
The IClientMessage type exposes the following members.
Name | Description | |
---|---|---|
AddFlag | Sets the flags field value. | |
GetBoolean | ||
GetByte | ||
GetCorrelationId | Returns the correlation ID field. | |
GetData | ||
GetFlags | Returns the flags field value. | |
GetFrameLength | Returns the frame length field. | |
GetInt | ||
GetLong | ||
GetMapEntry | ||
GetMessageType | Returns the message type field. | |
GetPartitionId | Returns the partition ID field. | |
GetShort | ||
GetStringUtf8 | ||
GetVersion | Returns the version field value. | |
IsComplete | Checks the frame size and total data size to validate the message size. | |
IsFlagSet | ||
IsRetryable | ||
SetCorrelationId | Sets the correlation ID field. | |
SetPartitionId | Sets the partition ID field. |
Client Message is the carrier framed data as defined below.
Any request parameter, response or event data will be carried in the payload.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |R| Frame Length | +-------------+---------------+---------------------------------+ | Version |B|E| Flags | Type | +-------------+---------------+---------------------------------+ | | + CorrelationId + | | +---------------------------------------------------------------+ | PartitionId | +-----------------------------+---------------------------------+ | Data Offset | | +-----------------------------+ | | Message Payload Data ... | ...