Interface Mqtt3PublishResult


@DoNotImplement public interface Mqtt3PublishResult
Result for an MQTT 3 Publish message sent by the client.

The result is provided if a Publish message is successfully delivered (sent or acknowledged respectively to its QoS level).

Since:
1.0
  • Method Details

    • getPublish

      @NotNull @NotNull Mqtt3Publish getPublish()
      Returns:
      the Publish message this result is for.
    • getError

      @NotNull @NotNull Optional<Throwable> getError()
      Returns:
      the optional error that is present if the Publish message was not successfully delivered.