Interface Mqtt5SubscribeBuilder.Publishes.Args<P>

Type Parameters:
P - the type of the result when the built Mqtt5Subscribe is applied to the parent.
All Known Subinterfaces:
Mqtt5SubscribeBuilder.Publishes.Complete<P>, Mqtt5SubscribeBuilder.Publishes.Start.Complete<P>
Enclosing interface:
Mqtt5SubscribeBuilder.Publishes<P>

@DoNotImplement public static interface Mqtt5SubscribeBuilder.Publishes.Args<P>
Builder for additional arguments alongside the Mqtt5Subscribe that are applied to a parent Mqtt5Client subscribePublishes call.
  • Method Details

    • manualAcknowledgement

      @CheckReturnValue @NotNull @NotNull Mqtt5SubscribeBuilder.Publishes.Args<P> manualAcknowledgement(boolean manualAcknowledgement)
      Sets whether the matching Publish messages consumed via the subscriptions are acknowledged manually.
      Parameters:
      manualAcknowledgement - whether the matching Publish messages are acknowledged manually.
      Returns:
      the builder.
    • applySubscribe

      @NotNull P applySubscribe()
      Builds the Mqtt5Subscribe and applies it and additional arguments to the parent.
      Returns:
      the result when the built Mqtt5Subscribe is applied to the parent.