|
SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
|
Interface for local layer. More...
#include <layers.hpp>
Public Types | |
| using | LocalAddrT = typename TLocalMessage::LocalAddrT |
| using | LocalMessageT = TLocalMessage |
Public Member Functions | |
| void | setNode (void *n) |
| Sets pointer to the owner node. More... | |
| ILocalNode< ILocalLayer > * | getNode () const |
| Gets the node object. More... | |
| bool | nodeConnected () const |
| Checks whether the owner node is connected. More... | |
| virtual bool | send (const TLocalMessage &msg)=0 |
| Sends the message to given node. More... | |
Interface for local layer.
| TLocalMessage | Type of local message |
Definition at line 26 of file layers.hpp.
|
inline |
|
inline |
Checks whether the owner node is connected.
Definition at line 60 of file layers.hpp.
|
pure virtual |
Sends the message to given node.
Should be used by INode only!
In the message, empty address means send to the bridge peer.
| msg | Message |
|
inline |
1.8.17