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.
  • 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