Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

MessageHeader PartialMessage int32 Size of request or responsePartialMessage (isMessageCompleted)
ValueObject --> Serializedbytes
Serializedbytes --> SerializedBytesHeader PartialSerializedBytes [SerializedBytesHeader PartialSerializedBytes]
SerializedBytesHeader --> Size isPartialBytes
Size --> int (Number of serialized bytes)
isPartialBytes --> boolean

ProtocolTypes

 

APIS

GetRequestResponse

...