Interface for MQTT messages.
Description
The IMqttMessageListener interface is used to create listeners for MQTT messages.
Instance methods
on_message
Defines the actions to be done once a message is received.
on_message(topic: str, partition: Any, packet: Any)
- topic: str - topic
- message: Any - message
- packet: Any - packet