Qore jni Module 2.6.0
Loading...
Searching...
No Matches
BusyLightDataProvider::BusyLightDataProvider Class Reference

Event- and message-based data provider for BusyLight client-side events. More...

#include <BusyLightDataProvider.qc.dox.h>

Inheritance diagram for BusyLightDataProvider::BusyLightDataProvider:
MqttDataProvider::AbstractFunctionalMqttDataProvider MqttDataProvider::AbstractMqttDataProvider

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.
 

Detailed Description

Event- and message-based data provider for BusyLight client-side events.

Member Function Documentation

◆ getMessageTypesImpl()

hash< string, hash< DataProviderMessageInfo > > BusyLightDataProvider::BusyLightDataProvider::getMessageTypesImpl ( )

Returns the description of an outbound message, if any.

Returns
the message type for this provider
Note
only called if the provider supports sending messages

◆ sendMessageImpl()

void BusyLightDataProvider::BusyLightDataProvider::sendMessageImpl ( soft< hash< auto > >  send_message_options,
string  message_id,
auto  msg 
)

Sends a message from message-capable data providers.

Parameters
msgthe message to send
send_message_optionsthe options for sending the message

Member Data Documentation

◆ MESSAGE_BL_UPDATE

const auto BusyLightDataProvider::BusyLightDataProvider::MESSAGE_BL_UPDATE = ...

BusyLight update message type.

Publishes an MQTT message to the given topic to update a BusyLight


The documentation for this class was generated from the following file: