Interface Mqtt5SubscribeBuilder.Publishes.Args<P>
- Type Parameters:
P- the type of the result when the builtMqtt5Subscribeis applied to the parent.
- All Known Subinterfaces:
Mqtt5SubscribeBuilder.Publishes.Complete<P>,Mqtt5SubscribeBuilder.Publishes.Start.Complete<P>
- Enclosing interface:
Mqtt5SubscribeBuilder.Publishes<P>
Builder for additional arguments alongside the
Mqtt5Subscribe that are applied to a parent Mqtt5Client subscribePublishes call.-
Method Summary
Modifier and TypeMethodDescriptionBuilds theMqtt5Subscribeand applies it and additional arguments to the parent.manualAcknowledgement(boolean manualAcknowledgement) Sets whether the matching Publish messages consumed via the subscriptions are acknowledged manually.
-
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
Builds theMqtt5Subscribeand applies it and additional arguments to the parent.- Returns:
- the result when the built
Mqtt5Subscribeis applied to the parent.
-