|
SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
|
Generic far layer node of SPSP. More...
#include <node.hpp>

Public Member Functions | |
| IFarNode (TFarLayer *fl) | |
| Constructs a new node. More... | |
| virtual bool | receiveFar (const std::string &topic, const std::string &payload)=0 |
| Receives the message from far layer. More... | |
Protected Member Functions | |
| TFarLayer * | getFarLayer () const |
| Gets the far layer object. More... | |
Generic far layer node of SPSP.
Supplied far layer must be valid during whole lifetime of this
| TFarLayer | Type of far layer |
Definition at line 18 of file layers.hpp.
|
inline |
|
inlineprotected |
|
pure virtual |
Receives the message from far layer.
Acts as a callback for far layer receiver.
| topic | Topic |
| payload | Payload (data) |
Implemented in SPSP::Nodes::Bridge< TLocalLayer, TFarLayer >.
1.8.17