Package com.plccom.mqtt.client
Interface MqttConnectedListener
-
public interface MqttConnectedListenerCallback invoked after a high-level client connection has been established.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonConnected(MqttConnectedContext context)Handles a successful MQTT connection.
-
-
-
Method Detail
-
onConnected
void onConnected(MqttConnectedContext context)
Handles a successful MQTT connection.The PLCcom MQTT client catches runtime exceptions thrown by this method so application callback failures do not close the MQTT connection.
- Parameters:
context- immutable connection context
-
-