Interface Mqtt5WillPublish

All Superinterfaces:
Mqtt5Message, Mqtt5Publish

@DoNotImplement public interface Mqtt5WillPublish extends Mqtt5Publish
MQTT 5 Will Publish which can be a part of an MQTT 5 Connect message.
Since:
1.0
  • Field Details

    • DEFAULT_DELAY_INTERVAL

      static final long DEFAULT_DELAY_INTERVAL
      The default delay of Will Publishes.
      See Also:
  • Method Details

    • builder

      @NotNull static @NotNull Mqtt5WillPublishBuilder builder()
      Creates a builder for a Will Publish.
      Returns:
      the created builder.
    • getDelayInterval

      long getDelayInterval()
      Returns:
      the delay of this Will Publish. The default is DEFAULT_DELAY_INTERVAL.
    • extendAsWill

      @NotNull Mqtt5WillPublishBuilder.Complete extendAsWill()
      Creates a builder for extending this Will Publish.
      Returns:
      the created builder.