Expand description
The service protocols driven by frames rather than decoded messages.
Each machine in this module speaks in typed messages, which is the right level for the
logic. A caller holding a link has frames, though, and turning one into the right call
means decoding the payload, matching the message id, calling the machine, and encoding
whatever it answers. That glue is the same every time, so it lives here once: a machine
takes an incoming Frame, and gives back the frame to send in reply and what happened.
Like the machines themselves this has no IO, no timers, and no allocation; a frame is a fixed buffer of bytes.
Structs§
- Receiver
Step - What one incoming frame produced for a
MissionReceiver.
Enums§
- Sender
Step - What one incoming frame produced for a
MissionSender.