Package com.hivemq.client.mqtt.mqtt5
Interface Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call.Ex
- All Superinterfaces:
Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call
- Enclosing interface:
Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call
@DoNotImplement
public static interface Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call.Ex
extends Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call
Builder for additional arguments alongside the
Mqtt5Subscribe that are applied to a Mqtt5AsyncClient.subscribe(Mqtt5Subscribe, Consumer, Executor, boolean) call.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hivemq.client.mqtt.mqtt5.Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call
Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call.Ex -
Method Summary
Modifier and TypeMethodDescriptionSets an executor to execute the callback for the matching Publish messages consumed via the subscriptions.manualAcknowledgement(boolean manualAcknowledgement) Sets whether the matching Publish messages consumed via the subscriptions are acknowledged manually.Methods inherited from interface com.hivemq.client.mqtt.mqtt5.Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call
callback, send
-
Method Details
-
executor
@CheckReturnValue @NotNull @NotNull Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call.Ex executor(@NotNull @NotNull Executor executor) Sets an executor to execute the callback for the matching Publish messages consumed via the subscriptions.- Parameters:
executor- the executor to execute the callback for the matching Publish messages.- Returns:
- the builder.
-
manualAcknowledgement
@CheckReturnValue @NotNull @NotNull Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Call.Ex 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.
- Since:
- 1.2
-