Package com.plccom.mqtt.client
Interface MqttReconnectFailedListener
-
public interface MqttReconnectFailedListenerCallback invoked when automatic reconnect cannot re-establish the client.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonReconnectFailed(MqttReconnectFailedContext context)Handles a failed automatic reconnect cycle.
-
-
-
Method Detail
-
onReconnectFailed
void onReconnectFailed(MqttReconnectFailedContext context)
Handles a failed automatic reconnect cycle.The PLCcom MQTT client catches runtime exceptions thrown by this method so application callback failures do not replace the original reconnect failure.
- Parameters:
context- immutable reconnect-failure context
-
-