Expand description
Communication between components.
The main purpose of communication is for a unit is to announce updates to its data set and operational state to all other components that are interested. It also takes care of managing these communication lines.
There are three main types here: Each unit has a single Gate
to
which it hands its updates. The opposite end is called a Link
and
is held by any interested component. A GateAgent
is a reference to a
gate that can be used to create new links.
The type GateMetrics
can be used by units to provide some obvious
metrics such as the number of payload units in the data set or the time
of last update based on the updates sent to the gate.
Structs
A communication gate representing the source of data.
A representative of a gate allowing creation of new links for it.
Metrics about the updates distributed via the gate.
A link to another unit.
An error signalling that a unit has been terminated.
Enums
The status of a gate.
The operational status of a unit.