Class MqttIntegrationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.mqtt.event.MqttIntegrationEvent
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MqttConnectionFailedEvent,MqttMessageDeliveryEvent,MqttSubscribedEvent
public abstract class MqttIntegrationEvent
extends org.springframework.integration.events.IntegrationEvent
Base class for Mqtt Events. For
IntegrationEvent.getSourceAsType(), you should use a sub type
of MqttComponent for the receiving
variable.- Since:
- 4.1
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MqttIntegrationEvent(java.lang.Object source)MqttIntegrationEvent(java.lang.Object source, java.lang.Throwable cause) -
Method Summary
-
Constructor Details
-
MqttIntegrationEvent
public MqttIntegrationEvent(java.lang.Object source) -
MqttIntegrationEvent
public MqttIntegrationEvent(java.lang.Object source, java.lang.Throwable cause)
-