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:
java.io.Serializable
- Direct Known Subclasses:
MqttMessageDeliveredEvent,MqttMessageSentEvent
public abstract class MqttMessageDeliveryEvent extends MqttIntegrationEvent
Base class for events related to message delivery. Properties
messageId,
clientId and clientInstance can be used to correlate events.- Since:
- 4.1
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MqttMessageDeliveryEvent(java.lang.Object source, int messageId, java.lang.String clientId, int clientInstance) -
Method Summary
Modifier and Type Method Description java.lang.StringgetClientId()intgetClientInstance()intgetMessageId()
-
Constructor Details
-
MqttMessageDeliveryEvent
public MqttMessageDeliveryEvent(java.lang.Object source, int messageId, java.lang.String clientId, int clientInstance)
-
-
Method Details
-
getMessageId
public int getMessageId() -
getClientId
public java.lang.String getClientId() -
getClientInstance
public int getClientInstance()
-