2.2.3.6.2 COMM_COMMAND
The COMM_COMMAND element contains the communication packet type. The structure of the COMM_COMMAND packet element is as follows:
-
typedef struct _COMM_COMMAND { USHORT CommType; ULONG Length; ULONG Data; } COMM_COMMAND, *PCOMM_COMMAND;
CommType: A 16-bit, unsigned integer that indicates the type of this COMM_PACKET element. MUST be set to 0x0002.
Length: A 32-bit, unsigned integer that indicates the length in bytes of the data following the Length field. MUST be 0x00000004.
Data: A 32-bit, unsigned integer that indicates the communication packet type. The value of this field MUST be one of the following.
-
Value
Meaning
CMD_REMOTE_CO
0x00000218
To send a remote change order to a downstream partner.
CMD_RECEIVING_STAGE
0x00000238
To transmit a staging file to a downstream partner.
CMD_REMOTE_CO_DONE
0x00000250
To inform the upstream partner that processing the remote change order is complete. This packet also includes the change order command that has completed.
CMD_ABORT_FETCH
0x00000246
To inform the downstream partner that the staging file data cannot be sent. This command tells the partner to abort the fetch operation on the staging file.
CMD_RETRY_FETCH
0x00000244
To inform the downstream partner that the request for the staging file data cannot be fulfilled at this time and that the request has to be retried at a later time.
CMD_NEED_JOIN
0x00000121
To inform the upstream partner that a Join operation is needed.
CMD_START_JOIN
0x00000122
To inform the downstream partner that a Join operation is starting.
CMD_JOINING
0x00000130
To send a version vector to an upstream partner.
CMD_JOINED
0x00000128
To inform the downstream partner that the Join is successful.
CMD_UNJOIN_REMOTE
0x00000148
To inform an upstream partner on completion of a version vector join (vvjoin) over a volatile connection. This command requests that the upstream partner disconnect the connection so that it can be torn down.
CMD_VVJOIN_DONE
0x00000136
To inform the downstream partner that all change orders were sent out during initial sync.
CMD_SEND_STAGE
0x00000228
To request staging data from an upstream partner.