Skip to main content

Module msg_type

Module msg_type 

Source
Expand description

Message type discriminant.

Every datastore-bound request and response carries a MsgType tag that identifies which command or reply class the message belongs to. The variants are paired one-for-one with the entries in the reference engine’s MSG_TYPE_CODEC X-macro: order, count, and string spellings all line up so the integer indices and the names returned by MsgType::name remain compatible across the two implementations.

The enum is exhaustive: 182 named variants plus the trailing EndIdx sentinel. Helpers are provided to round-trip integer indices and to classify a tag as a request or a response.

Enums§

MsgType
Message type discriminant.