Versions Compared

Key

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

...

Byte order is little-endian. Strings are UTF-8 with 4-byte length int prefix (no null terminator). All data types in this proposal are Java-like (byte = 8 bits, short = 2 bytes, int = 4 bytes, long = 8 bytes).

Message format

All messages, including handshake, start with int message length (excluding these first 4 bytes). E.g. empty message would be represented by 4 zero bytes.

intLength of Data
...Data

Handshake

Discussion Links

http://apache-ignite-developers.2346864.n4.nabble.com/Thin-client-protocol-message-format-td20300.html

...