Subscriptions are established with a 2-way-handshake.
...
...
@@ -49,7 +49,7 @@ When the publisher receives an `UNSUBSCRIBE` message, it deletes the matching su
This protocol defines how publishers notify subscribers about new sensor readings of sensors they have subscribed to. It is specified by the following state machine:
When a node receives a new sensor reading from one of its local sensors, it looks in its local database whether any subscribers exist for the given sensor. If none are present, nothing further happens. If some subscribers are present, the new reading is sent to each subscriber via a `READING` message.