2.2.1 Common Order Header (ORDER_HDR)
The messages, or protocol data unit (PDU), exchanged as part of this protocol MUST start with the Common Order Header (ORDER_HDR), which identifies the type of message contained in the PDU payload and the length of the payload, in bytes. As multiple messages for this protocol can be encapsulated in a single lower-level transport PDU, the Common Order Header allows receivers to calculate the message boundaries.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
Length |
Type (2 bytes): A 16-bit, unsigned integer that specifies the type of the PDU that follows the Length field.
Length (2 bytes): A 16-bit, unsigned integer that specifies the length of the data, in bytes, contained by the PDU. This field MUST be the payload size plus the size of the common header and MUST be used in decoding the individual PDUs.