Skip to main content

Module message

Module message 

Source
Expand description

Message — every S2 message, in one enum.

S2 JSON v1.0.0 defines 36 messages. Each carries a message_type discriminator and, with one exception, a message_id; the exception is ReceptionStatus, which names the message it is about instead and is never itself acknowledged.

MessageKind is the same set without the payloads: a fieldless Copy enum that is the key of the session state table, the unit of the allowed-message rules, and what a log line should carry.

Enums§

Message
Any S2 message.
MessageKind
Every S2 message type, without the payload.