Skip to main content

mqttclient

Availability

Agent

Description

Instances of the mqttclient class are created using mqtt.createclient() and are used to communicate with a single MQTT broker.

Only one mqttclient instance can be created per agent. Calling mqtt.createclient() again while the first mqttclient is within scope will cause an exception to be thrown.

Member Entities

The mqttclient object has the following member methods: