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 The purpose of ServerConfigRequest request to get server config from the server. Client The client needs to send this request after connecting to the server. 

ServerConfigRequestNumberOfProperties PropertyId PropertyValue{ PropertyId PropertyValue}
NumberOfPropertiesfixedSize = 2 bytes, type = int16
PropertyidfixedSize = 2 bytes, type = int16
PropertyValuevariable, Value as defined in table below
Server Response PropertiesServerPropertyIdPropertyIdValuePropertyValueDescription
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 The Purpose of ClientConfigRequest request to send client config to servera server. Client The client needs to send this request after connecting to the server. 

ClientConfigRequestNumberOfProperties PropertyId PropertyValue{ PropertyId PropertyValue}
NumberOfPropertiesfixedSize = 2 bytes, type = int16
PropertyidfixedSize = 2 bytes, type = int16
PropertyValuevariable, Value as defined in table below
Client Request PropertiesPropertyIdPropertyValueClient 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

The purpose of AuthRequest to authenticate the client connection. A client can send the auth request in the following format. Before sending the auth request a client can verify the server config by sending the ServerConfigRequest.

 

Examples

PutRequest

string regionName = "ExampleRegion"

...