Interface Mqtt3SubscribeBuilder.Publishes.Args<P>

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

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

    • manualAcknowledgement

      @CheckReturnValue @NotNull @NotNull Mqtt3SubscribeBuilder.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 Mqtt3Subscribe and applies it and additional arguments to the parent.
      Returns:
      the result when the built Mqtt3Subscribe is applied to the parent.