Click or drag to resize

IClientMessage Interface

Client Message is the carrier framed data as defined below.

Namespace:  Hazelcast.Client.Protocol
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
public interface IClientMessage

The IClientMessage type exposes the following members.

Methods
  NameDescription
Public methodAddFlag
Sets the flags field value.
Public methodGetBoolean
Public methodGetByte
Public methodGetCorrelationId
Returns the correlation ID field.
Public methodGetData
Public methodGetFlags
Returns the flags field value.
Public methodGetFrameLength
Returns the frame length field.
Public methodGetInt
Public methodGetLong
Public methodGetMapEntry
Public methodGetMessageType
Returns the message type field.
Public methodGetPartitionId
Returns the partition ID field.
Public methodGetShort
Public methodGetStringUtf8
Public methodGetVersion
Returns the version field value.
Public methodIsComplete
Checks the frame size and total data size to validate the message size.
Public methodIsFlagSet
Public methodIsRetryable
Public methodSetCorrelationId
Sets the correlation ID field.
Public methodSetPartitionId
Sets the partition ID field.
Top
Remarks

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                    ...
                    |                                                              ...
                
See Also