Skip to main content

Module message

Module message 

Source
Expand description

In-memory representation of a single Dynomite message.

Msg is the unit that flows through the engine: a request from a client connection, a response from the upstream datastore, or an internal control packet. It carries the parsed metadata, the mbuf chain holding the on-the-wire bytes, the parser state used by the protocol decoders, and the bookkeeping flags every layer sets and reads.

This stage builds the data shape and exposes the field-level accessors. The connection-coupled lifecycle paths (timeout tracking, queue threading, parser dispatch) land in Stage 9 once the connection state machine exists.

Structs§

Msg
One Dynomite message: the in-memory representation of a request or a response on its way through the engine.
MsgFlags
Bag of boolean lifecycle flags used by the request and response pipelines.

Enums§

MsgParseResult
Parser outcome reported by datastore protocol decoders.
MsgRouting
Routing override applied to a request.

Type Aliases§

ConnId
Stable connection identifier carried by Msg::owner.