Class MqttConnector

java.lang.Object
io.openems.edge.controller.api.mqtt.MqttConnector

public class MqttConnector extends Object
This helper class wraps a connection to an MQTT broker.

One main feature of this class is to retry the initial connection to an MQTT broker. A feature that is unfortunately not present in Eclipse Paho. After the first successful connection, Paho reconnects on its own in case of a lost connection.