Interface Mqtt5Unsubscribe

All Superinterfaces:
Mqtt5Message

@DoNotImplement public interface Mqtt5Unsubscribe extends Mqtt5Message
MQTT 5 Unsubscribe message. This message is translated from and to an MQTT 5 UNSUBSCRIBE packet.
Since:
1.0
  • Method Details

    • builder

      static @NotNull Mqtt5UnsubscribeBuilder.Start builder()
      Creates a builder for an Unsubscribe message.
      Returns:
      the created builder.
    • getTopicFilters

      @NotNull @Immutable @NotNull List<@NotNull ? extends MqttTopicFilter> getTopicFilters()
      Returns:
      the Topic Filters of this Unsubscribe message. The list contains at least one Topic Filter.
    • getUserProperties

      @NotNull @NotNull Mqtt5UserProperties getUserProperties()
      Returns:
      the optional user properties of this Unsubscribe message.
    • getType

      @NotNull default @NotNull Mqtt5MessageType getType()
      Specified by:
      getType in interface Mqtt5Message
      Returns:
      the type of this MQTT message.
    • extend

      Creates a builder for extending this Unsubscribe message.
      Returns:
      the created builder.