Interface Mqtt5OutgoingQos1Interceptor


public interface Mqtt5OutgoingQos1Interceptor
Interface for interceptors of the QoS 1 control flow for outgoing Publish messages.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPubAck(@NotNull Mqtt5ClientConfig clientConfig, @NotNull Mqtt5Publish publish, @NotNull Mqtt5PubAck pubAck)
    Called when a server sent a PubAck message for a Publish message with QoS 1.
  • Method Details

    • onPubAck

      void onPubAck(@NotNull @NotNull Mqtt5ClientConfig clientConfig, @NotNull @NotNull Mqtt5Publish publish, @NotNull @NotNull Mqtt5PubAck pubAck)
      Called when a server sent a PubAck message for a Publish message with QoS 1.

      This method must not block.

      Parameters:
      clientConfig - the config of the client.
      publish - the Publish message with QoS 1 sent by the client.
      pubAck - the PubAck message sent by the server.