|
SOIL C++
C++ Unified Device Interface
|
Internal MQTT message struct. More...
#include <MessageContainer.h>
Public Attributes | |
| std::string | topic |
| Message Topic. More... | |
| std::string | message |
| Message. More... | |
| int | qos |
| Quality of Service. More... | |
| bool | retain |
| Retain Flag. More... | |
Struct to manage MQTT message data internally using standard strings.
Definition at line 10 of file MessageContainer.h.
| std::string MQTT::MessageContainer::message |
Primary content of the messsage to send.
Definition at line 24 of file MessageContainer.h.
| int MQTT::MessageContainer::qos |
MQTT Quality of service level to choose for the message. Check the MQTT specifications for the exact behaviours of 0, 1, and 2 in conjuncation with message retention.
Definition at line 32 of file MessageContainer.h.
| bool MQTT::MessageContainer::retain |
Flag whether to retain the message on the broker after disconnection.
Definition at line 39 of file MessageContainer.h.
| std::string MQTT::MessageContainer::topic |
Topic to which the message shall be sent.
Definition at line 17 of file MessageContainer.h.