...
All the supported Geode types can be defined as the region value. In the request format the request format the region value will be marked as ValueObject. Value object will be preceded by ValueHeader. This will represent the size of the serialized bytes of ValueObject. It will consume 5-byte in request format. And it will be marked as ValueHeader in the request formatThe ValueObject will contain the serialized bytes. We will have ability to send those bytes in chunk.
ResponseType
ReponseType will indicate that whether the response is partial or complete. A client can process a partial response. Response with FullResponse type id will indicate the completion of that request.
...
Response --> (ResponseTypeId | ErrorCode) hasMetaData [MetaData] APIResponse |
---|
ResponseTypeId --> int16(codes defined above) |
ErrorCode --> int16 (codes defined above) |
hasMetaData --> boolean (if there is any meta data associated with this request) |
MetaData --> Optional |
APIResponse –> (PutResponse | GetResponse | PutAlLRequest | GetAllRequest) |
ValueHeader
ValueObject
ValueObject --> Serializedbytes | ||
---|---|---|
Serializedbytes --> SerializedBytesHeader PartialSerializedBytes [SerializedBytesHeader PartialSerializedBytes] | ||
SerializedBytesHeader | MessageHeader--> Size | PartialMessageisPartialBytes |
Size --> | int32int ( | Size of request or responseNumber of serialized bytes) |
isPartialBytes --> boolean | (isMessageCompleted)
ProtocolTypes
APIS
GetRequestResponse
...