2.2.2.13 PT2PT
The PT2PT message is used by the application to send data from one Node to another. The PT2PT message can be sent on either a Direct or a Neighbor connection.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Message Size |
|||||||||||||||||||||||||||||||
|
Version |
Message Type |
Reserved1 |
|||||||||||||||||||||||||||||
|
Data Offset |
Reserved2 |
||||||||||||||||||||||||||||||
|
Data Type (16 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
Payload Data (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Message Size (4 bytes): The total number of bytes in the message.
Version (1 byte): The Peer-to-Peer Graphing Protocol version number. This MUST be set to 0x10 to signify version 1.0.
Message Type (1 byte): MUST be set to 0x0D.
Reserved1 (2 bytes): MUST be set to zero and ignored on receipt.
Data Offset (2 bytes): The offset, in bytes, from the beginning of the message to the Payload Data.
Reserved2 (2 bytes): MUST be set to zero and ignored on receipt.
Data Type (16 bytes): The application-supplied data type, expressed as a GUID. GUID {0ccbb0d2-be41-4bd6-914b058ec5dcce64} is reserved by the protocol and MUST NOT be used by the application. For more details, see section 2.2.4.1.
Payload Data (variable): The application-supplied data.