Versions Compared

Key

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

...

Response MetaData KeyMetaData KeyIdMetaData ValueDescription
UPDATE_PR_META_DATA

1

fixedSize = 2 bytes, type = int16

true

fixedSize = 1 byte, type = boolean

[optional]This would indicate in response that request was handled by remote peer. So client

should update PR meta data.

 

ServerConfigRequest

Purpose of ServerConfigRequest request to get server config from server. Client needs to send this request after connecting to the server. 

Server Response PropertiesServerPropertyIdValueDescription
SECURITY_ENABLED1booleanWhether security is enabled at server
DIFFIE_HELLMAN_KEY2byte[]The server Diffie-Hellman key if the credential is required to encrypt.
MAX_TIME_BETWEEN_CLIENT_PING3int32If the client connection is idle for MAX_TIME_BETWEEN_CLIENT_PING seconds then the server will close that connection.

 

ClientConfigRequest

Purpose of ClientConfigRequest request to send client config to server. Client needs to send this request after connecting to the server. 

Client Request PropertiesClientPropertyIdValueDescription
CLIENT_ID1stringUnique id for the client
ClIENT_READ_TIMEOUT2int32The client will wait for ClIENT_READ_TIMEOUT for server response.
DIFFIE_HELLMAN_KEY3byte[]The client Diffie-Hellman key if the credential is required to encrypt.

 

AuthRequest

 

Examples

PutRequest

string regionName = "ExampleRegion"

...