class documentation

class MQTTTopic:

View In Hierarchy

Structure that represents a subscribed-to topic.

Class Variable callback The callback function for the topic.
Class Variable callbackArgs The callback arguments for the topic.
Class Variable isSubscribed Whether the topic is subscribed to.
Class Variable mid The message ID of the MQTT subscription.
Class Variable topic The MQTT topic.
callback: MQTTCallback | None =

The callback function for the topic.

callbackArgs: dict | None =

The callback arguments for the topic.

isSubscribed: bool =

Whether the topic is subscribed to.

mid: int | None =

The message ID of the MQTT subscription.

topic: str | None =

The MQTT topic.