Documentation ¶
Overview ¶
Package distributor is used to distribute messages through the ApplicationBackend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distributor ¶
type Distributor interface { InputUplink(components.MessageUplinkI) (components.MessageUplinkI, error) InputDownlink(components.MessageDownLink) InputNewSensors(sensors []components.Sensor, devEUI string) DeleteSensors(sensors []components.Sensor, devEUI string) }
Distributor is used to distribute messages through the system. When it receives a Uplink message, it transfers that to the restUplinkConnector and the DatabaseConnector. When receiving a Downlink message, it transfers that to the DatabaseConnector and the mqttDownlink Client. When the header comes in, it also sends messages to the restUplink that Sensors has been either removed in the node header.
Click to show internal directories.
Click to hide internal directories.