MqttSubscription

Defines the fields for an MQTT subscription.

Description

The MqttSubscription class defines the main fields for an MQTT subscription.

Constructors

MqttSubscription(topic: str = None, filter: bool = None, options: dict = None, listener: IMqttMessageListener = None)

Fields

topic

Topic

topic: str

filter

Filter

filter: bool

options

Subscription options

options: dict

listener

Listener

listener: IMqttMessageListener