Versions Compared

Key

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

...

ResponseHeader => (ResponseTypeId | ErrorCode) hasMetaData CorrelationIdDescription
ResponseTypeId => fixedSize = 2 bytes, type = int16 
ErrorCode => fixedSize = 2 bytes, type = int16When there is error response will have error message(String) for it
hasMetaData => fixedSize = 1 byte, type = booleanif there is any meta data associated with this request
CorrelationId => fixedSize = 4 bytes, type = int32 The id which comes in the request message.

ErrorResponse

The response will indicate the error using the fixed size error header, optional metadata and error message.

ErrorResponse => errorMessage
errorMessage => (variable size, type = String)

...