2.2.3.1 Sub-Responses
Specifies the sub-responses corresponding to each sub-request (section 2.2.2.1) in the following format.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sub-response Start |
|||||||||||||||||||||||||||||||
Request ID (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Request Type (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
A |
Reserved |
Sub-response data (variable) |
|||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Sub-response End |
Sub-response Start (4 bytes): A 32-bit Stream Object Header (section 2.2.1.5.2) that specifies a sub-response start.
Request ID (variable): A compact unsigned 64-bit integer (section 2.2.1.1) that specifies the request number this sub-response is for.
Request Type (variable): A compact unsigned 64-bit integer that specifies the request type (section 2.2.1.6) matching the request.
A - Status (1 bit): If set, a bit that specifies the sub-request has failed. A Response Error (section 2.2.3.2) MUST follow.
Reserved (7 bits): A 7 bit reserved field that MUST be set to zero and MUST be ignored.
Sub-response data (variable): A Response Error that specifies the error information about failure of the sub-request, or depending on the Request Type (section 2.2.1.6), specifies additional data. See the following table for details:
Value |
Meaning |
---|---|
1 |
Query Access (section 2.2.3.1.1). |
2 |
Query Changes (section 2.2.3.1.2). |
5 |
Put Changes (section 2.2.3.1.3). |
11 |
Allocate Extended GUID Range (section 2.2.3.1.4) |
Sub-response End (2 bytes): A 16-bit Stream Object Header (section 2.2.1.5.4) that specifies a sub-response end.