Versions Compared

Key

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

...

Clients that send PDX values need to be able request PDX type IDs from the server. We can add a new message to request a PDX type ID. But until PDXType and it's serialization format are actually public maybe we should just make this an internal function call, not a new message in the protocol? Since clients that support PDX need to support DataSerializable, we will just have them serialize a PDXType  as a DataSerializable, rather than defining a PdxType in protobuf.

Code Block
message GetPdxTypeIDRequestGetPdxTypeIdRequest {
  bytes serializedPDXType = 1;
}
message GetPDXTypeIdResponse {
  int32 id = 1;
}
message GetPdxTypeRequest {
  int32 intResult id = 1;
}
message GetPdxTypeResponse {
  bytes serializedPDXType = 1;
}