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

Parent data provider for MQTT devices. More...

#include <MqttDevicesDataProvider.qc.dox.h>

Inheritance diagram for MqttDataProvider::MqttDevicesDataProvider:
MqttDataProvider::AbstractMqttDataProvider

Public Member Methods

void constructor (AbstractMqttDataProvider prev)
 Creates the object from another object of the same class.
 
string getName ()
 Returns the name of the data provider.
 
hash< DataProvider::DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 
soft< list< string > > getChildProviderNamesImpl ()
 Returns a list of child data provider names, if any.
 
soft< DataProvider::AbstractDataProvider > getChildProviderImpl (string name)
 Returns the given child provider or nothing if the given child is unknown.
 
- Public Member Methods inherited from MqttDataProvider::AbstractMqttDataProvider
void constructor ()
 Creates the object without any arguments for child classes.
 
void constructor (AbstractMqttDataProvider prev)
 Creates the object from another object of the same class for child classes.
 

Static Public Member Methods

static void registerChild (string pathname, Reflection::Class cls)
 Register a new child data provider for Google calendars.
 
static void deregisterChild (string pathname)
 Deregister the named child data provider.
 
- Static Public Member Methods inherited from MqttDataProvider::AbstractMqttDataProvider
static hash< auto > getClient (hash< auto > copts, soft< LoggerInterface > logger)
 Returns a client for the given options.
 

Public Attributes

const auto ProviderInfo = ...
 Provider info.
 

Private Attributes

hash< string, Reflection::Class > childMap
 Child data provider classes.
 
- Private Attributes inherited from MqttDataProvider::AbstractMqttDataProvider
MqttClient client
 The MQTT client itself.
 
MqttConnectOptions opts
 Connection options.
 
string topic
 Subscription topic filter.
 
int qos
 Subscription QoS.
 
string message_format
 Message payload format.
 
string encoding
 Encoding for message_format "string".
 

Detailed Description

Parent data provider for MQTT devices.

Member Function Documentation

◆ getChildProviderImpl()

soft< DataProvider::AbstractDataProvider > MqttDataProvider::MqttDevicesDataProvider::getChildProviderImpl ( string  name)

Returns the given child provider or nothing if the given child is unknown.

Returns
the given child provider or nothing if the given child is unknown
See also
getChildProviderEx()

◆ getChildProviderNamesImpl()

soft< list< string > > MqttDataProvider::MqttDevicesDataProvider::getChildProviderNamesImpl ( )

Returns a list of child data provider names, if any.

Returns
a list of child data provider names, if any

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