EngineMessage
Purpose
A message sent to a pub/sub topic by an engine.
Type
Reception:
EngineMessageV1
Record with fields:
-
body
: Vec
Serialized message body
Triggers:
Event
Behaviour
When a local engine sends an EngineMessage destined to a pub/sub topic,
the Router forwards it to all local engines subscribed to the message, including PubSub.
PubSub then encapsulates the message in an Event,
and forwards it to its neighbors along the event dissemination path.
Message flow
sequenceDiagram
%% --8<-- [start:sequence]
Any Local Engine -) Router: EngineMessage
Router -) PubSub: EngineMessage
PubSub -) PubSub: Event
%% --8<-- [end:sequence]
(Wiki) links on this page