OffBroadway.MQTT v0.1.0 OffBroadway.MQTT.Handler View Source

Link to this section Summary

Functions

Invoked when the connection status changes.

Invoked when messages are published to subscribed topics.

Invoked when the connection is started.

Invoked when the subscription of a topic filter changes status.

Invoked when the connection process is about to exit.

Link to this section Functions

Link to this function

connection(status, state) View Source

Invoked when the connection status changes.

Link to this function

handle_message(topics, payload, state) View Source

Invoked when messages are published to subscribed topics.

Invoked when the connection is started.

Link to this function

subscription(status, topic_filter, state) View Source

Invoked when the subscription of a topic filter changes status.

Link to this function

terminate(reason, state) View Source

Invoked when the connection process is about to exit.