Module sota::interpreter [] [src]

Structs

CommandInterpreter

The CommandInterpreter wraps each incoming Command inside an Interpret type with no response channel for sending to the GlobalInterpreter.

EventInterpreter

The EventInterpreter listens for Events and optionally responds with Commands that may be sent to the CommandInterpreter.

GlobalInterpreter

The GlobalInterpreter interprets the Command inside incoming Interpret messages, broadcasting Events globally and (optionally) sending the final outcome Event to the Interpret response channel.

Traits

Interpreter

An Interpreter loops over any incoming values, on receipt of which it delegates to the interpret function which will respond with output values.