Interface Mqtt3SubscribeBuilder.Publishes.Args<P>
- Type Parameters:
P- the type of the result when the builtMqtt3Subscribeis applied to the parent.
- All Known Subinterfaces:
Mqtt3SubscribeBuilder.Publishes.Complete<P>,Mqtt3SubscribeBuilder.Publishes.Start.Complete<P>
- Enclosing interface:
Mqtt3SubscribeBuilder.Publishes<P>
Builder for additional arguments alongside the
Mqtt3Subscribe that are applied to a parent Mqtt3Client subscribePublishes call.-
Method Summary
Modifier and TypeMethodDescriptionBuilds theMqtt3Subscribeand 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 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
Builds theMqtt3Subscribeand applies it and additional arguments to the parent.- Returns:
- the result when the built
Mqtt3Subscribeis applied to the parent.
-