Package com.hivemq.client.mqtt.mqtt3
Interface Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call.Ex
- All Superinterfaces:
Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call
- Enclosing interface:
Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call
@DoNotImplement
public static interface Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call.Ex
extends Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call
Builder for additional arguments alongside the
Mqtt3Subscribe that are applied to a Mqtt3AsyncClient.subscribe(Mqtt3Subscribe, Consumer, Executor, boolean) call.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hivemq.client.mqtt.mqtt3.Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call
Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.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.mqtt3.Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Call
callback, send
-
Method Details
-
executor
@CheckReturnValue @NotNull @NotNull Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.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 Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.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
-