2.2.4 Request Message
The Retrieval Protocol specifies four Request Message types sent by the clients to the servers:
MSG_NEGO_REQ (section 2.2.4.1)
MSG_GETBLKLIST (section 2.2.4.2)
MSG_GETSEGLIST (section 2.2.4.4)
The complete layout of a request-type Peer Content Caching and Retrieval: Retrieval Protocol message is as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MESSAGE_HEADER |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
MESSAGE_BODY (variable) |
|||||||||||||||||||||||||||||||
... |
MESSAGE_HEADER (16 bytes): Message header.
MESSAGE_BODY (variable): Message body, which contains one of the following: Negotiation Request (MSG_NEGO_REQ), GetBlockList (MSG_GETBLKLIST), GetBlocks (MSG_GETBLKS), or GetSegmentList (MSG_GETSEGLIST) request message.