Class SendingMqttMessage<T>
java.lang.Object
io.smallrye.reactive.messaging.mqtt.SendingMqttMessage<T>
- All Implemented Interfaces:
MqttMessage<T>,ContextAwareMessage<T>,org.eclipse.microprofile.reactive.messaging.Message<T>
-
Field Summary
Fields inherited from interface org.eclipse.microprofile.reactive.messaging.Message
EMPTY_ACK, EMPTY_NACK, LOGGER -
Method Summary
Modifier and TypeMethodDescriptionack(org.eclipse.microprofile.reactive.messaging.Metadata metadata) Function<org.eclipse.microprofile.reactive.messaging.Metadata,CompletionStage<Void>> intorg.eclipse.microprofile.reactive.messaging.Metadataio.netty.handler.codec.mqtt.MqttQoSgetTopic()booleanbooleanisRetain()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.reactive.messaging.providers.locals.ContextAwareMessage
getContextMetadata, runOnMessageContextMethods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
ack, addMetadata, getAck, getMetadata, getNack, getNackWithMetadata, nack, nack, thenApply, unwrap, withAckWithMetadata, withMetadata, withMetadata, withNack, withNackWithMetadata, withPayloadMethods inherited from interface io.smallrye.reactive.messaging.mqtt.MqttMessage
withAck
-
Method Details
-
getMetadata
public org.eclipse.microprofile.reactive.messaging.Metadata getMetadata()- Specified by:
getMetadatain interfaceorg.eclipse.microprofile.reactive.messaging.Message<T>
-
ack
- Specified by:
ackin interfaceorg.eclipse.microprofile.reactive.messaging.Message<T>
-
getAckWithMetadata
public Function<org.eclipse.microprofile.reactive.messaging.Metadata,CompletionStage<Void>> getAckWithMetadata()- Specified by:
getAckWithMetadatain interfaceorg.eclipse.microprofile.reactive.messaging.Message<T>
-
getPayload
- Specified by:
getPayloadin interfaceorg.eclipse.microprofile.reactive.messaging.Message<T>
-
getMessageId
public int getMessageId()- Specified by:
getMessageIdin interfaceMqttMessage<T>
-
getQosLevel
public io.netty.handler.codec.mqtt.MqttQoS getQosLevel()- Specified by:
getQosLevelin interfaceMqttMessage<T>
-
isDuplicate
public boolean isDuplicate()- Specified by:
isDuplicatein interfaceMqttMessage<T>
-
isRetain
public boolean isRetain()- Specified by:
isRetainin interfaceMqttMessage<T>
-
getTopic
- Specified by:
getTopicin interfaceMqttMessage<T>
-