3.1.5.1 Processing the Common PDU Header

The Type field (as specified in Common Order Header (ORDER_HDR) (section 2.2.1)) MUST be examined to determine if it corresponds to a known message type. If the type does not correspond to a known message type, the PDU SHOULD be ignored.<7> If the type matches a known type, the processing for the Length field (see Common Order Header (ORDER_HDR) (section 2.2.1)) MUST be performed based on the value of the Type field, as described in the following table.

 Type field value

 Processing instructions

ODTYPE_FILTER_STATE_UPDATED

0x0001

Processing a Filter-Updated PDU (section 3.2.5.1.3)

ODTYPE_APP_REMOVED

0x0002

Processing an Application-Removed PDU (section 3.2.5.1.2)

ODTYPE_APP_CREATED

0x0003

Processing an Application-Created PDU (section 3.2.5.1.1)

ODTYPE_WND_REMOVED

0x0004

Processing a Window-Removed PDU (section 3.2.5.1.5)

ODTYPE_WND_CREATED

0x0005

Processing a Window-Created PDU (section 3.2.5.1.4)

ODTYPE_WND_SHOW

0x0006

Processing a Show Window PDU (section 3.3.5.1.1)

ODTYPE_PARTICIPANT_REMOVED

0x0007

Processing a Participant-Removed PDU (section 3.2.5.2.2)

ODTYPE_PARTICIPANT_CREATED

0x0008

Processing a Participant-Created PDU (section 3.2.5.2.1)

ODTYPE_PARTICIPANT_CTRL_CHANGE

0x0009

Processing the Change Participant Control Level PDU (section 3.3.5.2.3)

ODTYPE_GRAPHICS_STREAM_PAUSED

0x000A

Processing a Graphics Stream-Paused PDU (section 3.2.5.3.1)

ODTYPE_GRAPHICS_STREAM_RESUMED

0x000B

Processing a Graphics Stream-Resumed PDU (section 3.2.5.3.2)

ODTYPE_WND_REGION_UPDATE

0x000C

Processing a Window Region Update PDU (section 3.2.5.1.6)

ODTYPE_PARTICIPANT_CTRL_CHANGE_RESPONSE

0x000D

Processing the Change Participant Control Level Response PDU (section 3.2.5.2.3)

More than one sharing message can be contained in a single virtual channel payload. If more than one message is included, they are concatenated, with each message having its own common message header. When processing a message, the receiver MUST verify that enough network data remains in the virtual channel packet to process a message of the size specified by the Length field. The receiver SHOULD disconnect from the sharing session if there is not enough data.<8>