Class SendingMqttMessage<T>

    • Method Detail

      • ack

        public CompletionStage<Void> ack()
        Description copied from interface: Message
        Acknowledge this message.
        Specified by:
        ack in interface Message<T>
        Returns:
        a completion stage completed when the message is acknowledged. If the acknowledgement fails, the completion stage propagates the failure.
      • getPayload

        public T getPayload()
        Specified by:
        getPayload in interface Message<T>
        Returns:
        The payload for this message.
      • getQosLevel

        public io.netty.handler.codec.mqtt.MqttQoS getQosLevel()
        Specified by:
        getQosLevel in interface MqttMessage<T>