public interface Mqtt5OutgoingQos1Interceptor
Modifier and Type | Method and 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.
|
void onPubAck(@NotNull @NotNull Mqtt5ClientConfig clientConfig, @NotNull @NotNull Mqtt5Publish publish, @NotNull @NotNull Mqtt5PubAck pubAck)
This method must not block.
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.