Class MqttConnectionFailedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.mqtt.event.MqttIntegrationEvent
org.springframework.integration.mqtt.event.MqttConnectionFailedEvent
- All Implemented Interfaces:
java.io.Serializable
public class MqttConnectionFailedEvent extends MqttIntegrationEvent
The
MqttIntegrationEvent to notify about lost connection to the server.
When normal disconnection is happened (initiated by the server), the cause is null.- Since:
- 4.2.2
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MqttConnectionFailedEvent(java.lang.Object source)MqttConnectionFailedEvent(java.lang.Object source, java.lang.Throwable cause) -
Method Summary
-
Constructor Details
-
MqttConnectionFailedEvent
public MqttConnectionFailedEvent(java.lang.Object source) -
MqttConnectionFailedEvent
public MqttConnectionFailedEvent(java.lang.Object source, @Nullable java.lang.Throwable cause)
-