THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Header | |||
---|---|---|---|
byte | Object type code, always 103 | ||
byte | Version, always 1 | ||
short | Flags, see below | ||
int | Type id, Java-style hash code of the type name | ||
int | Hash code, Java-style hash of contents without header, necessary for comparisons | ||
int | Length, including header | ||
int | Schema Id, see below | int | |
int | Schema offset from the header start, position where fields end | ||
BinaryObject * n | Fields | ||
(int + int) * n | Schema, fieldId (Java-style hash of field name) + offset (from header start)SchemaOffset, see below |
All messages, request and response, including handshake, start with int
message length (excluding these first 4 bytes). E.g. empty message would be represented by 4 zero bytes.
...