|
SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
|
Local message representation. More...
#include <local_message.hpp>
Public Types | |
| using | LocalAddrT = TLocalAddr |
Public Member Functions | |
| std::string | toString () const |
Converts LocalMessage to printable string. More... | |
| bool | operator== (const LocalMessage &other) const |
Public Attributes | |
| LocalMessageType | type |
| Type of message. | |
| TLocalAddr | addr = {} |
| Source/destination address. | |
| std::string | topic = "" |
| Topic of message. | |
| std::string | payload = "" |
| Payload of message. | |
Local message representation.
Used primarily for communication between LocalLayer and Node classes.
| TLocalAddr | Type of local address |
Definition at line 70 of file local_message.hpp.
|
inline |
Converts LocalMessage to printable string.
Primarily for logging purposes
Definition at line 86 of file local_message.hpp.
1.8.17