![]() |
Qore jni Module 2.6.0
|
Event- and message-based data provider for BusyLight client-side events. More...
#include <BusyLightDataProvider.qc.dox.h>
Public Member Methods | |
| void | constructor (AbstractMqttDataProvider prev) |
| Creates the object from another object of the same class. | |
| void | constructor (soft< hash< auto > > options) |
| Creates the object from constructor options. | |
| hash< string, hash< DataProviderMessageInfo > > | getMessageTypesImpl () |
| Returns the description of an outbound message, if any. | |
| void | sendMessageImpl (soft< hash< auto > > send_message_options, string message_id, auto msg) |
| Sends a message from message-capable data providers. | |
| hash< DataProvider::DataProviderInfo > | getStaticInfoImpl () |
| Returns data provider static info. | |
Public Attributes | |
| const auto | ProviderInfo = ... |
| Provider info. | |
| const auto | MESSAGE_BL_UPDATE = ... |
| BusyLight update message type. | |
Event- and message-based data provider for BusyLight client-side events.
| hash< string, hash< DataProviderMessageInfo > > BusyLightDataProvider::BusyLightDataProvider::getMessageTypesImpl | ( | ) |
Returns the description of an outbound message, if any.
| void BusyLightDataProvider::BusyLightDataProvider::sendMessageImpl | ( | soft< hash< auto > > | send_message_options, |
| string | message_id, | ||
| auto | msg | ||
| ) |
Sends a message from message-capable data providers.
| msg | the message to send |
| send_message_options | the options for sending the message |
| const auto BusyLightDataProvider::BusyLightDataProvider::MESSAGE_BL_UPDATE = ... |
BusyLight update message type.
Publishes an MQTT message to the given topic to update a BusyLight