Package de.smartsquare.starter.mqtt
Class MqttMessageErrorHandler
-
- All Implemented Interfaces:
public class MqttMessageErrorHandlerClass responsible for handling errors happening during message delivery. Writes logs per default but can be overridden by consumers.
-
-
Constructor Summary
Constructors Constructor Description MqttMessageErrorHandler()
-
Method Summary
Modifier and Type Method Description Unithandle(MqttMessageException error)Handles the given error that occurred during the delivery of an MQTT message. -
-
Method Detail
-
handle
Unit handle(MqttMessageException error)
Handles the given error that occurred during the delivery of an MQTT message.
- Parameters:
error- The MqttMessageException representing the error during message delivery.
-
-
-
-