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