Class MqttMessageDeliveryEvent
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.MqttMessageDeliveryEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MqttMessageDeliveredEvent
,MqttMessageSentEvent
Base class for events related to message delivery. Properties
messageId
,
clientId
and clientInstance
can be used to correlate events.- Since:
- 4.1
- Author:
- Gary Russell
- See Also:
-
Field Summary
Fields inherited from class org.springframework.integration.events.IntegrationEvent
cause
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionMqttMessageDeliveryEvent
(Object source, int messageId, String clientId, int clientInstance) -
Method Summary
Modifier and TypeMethodDescriptionint
int
Methods inherited from class org.springframework.integration.events.IntegrationEvent
getCause, getSourceAsType, toString
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
MqttMessageDeliveryEvent
-
-
Method Details
-
getMessageId
public int getMessageId() -
getClientId
-
getClientInstance
public int getClientInstance()
-