C
- the type of the complete builder.@DoNotImplement public interface Mqtt3SubscribeBuilderBase<C extends Mqtt3SubscribeBuilderBase<C>>
Mqtt3Subscribe
.Modifier and Type | Interface and Description |
---|---|
static interface |
Mqtt3SubscribeBuilderBase.Start<C extends Mqtt3SubscribeBuilderBase<C>,SC extends Mqtt3SubscribeBuilderBase.Start.Complete<C,SC>>
Mqtt3SubscribeBuilderBase that provides additional methods for the first subscription. |
Modifier and Type | Method and Description |
---|---|
Mqtt3SubscriptionBuilder.Nested<? extends C> |
addSubscription()
Fluent counterpart of
addSubscription(Mqtt3Subscription) . |
C |
addSubscription(@NotNull Mqtt3Subscription subscription)
Adds a
Mqtt3Subscription to the list of subscriptions . |
@NotNull C addSubscription(@NotNull @NotNull Mqtt3Subscription subscription)
Mqtt3Subscription
to the list of subscriptions
. At least
one subscription is mandatory.subscription
- the subscription.@NotNull Mqtt3SubscriptionBuilder.Nested<? extends C> addSubscription()
addSubscription(Mqtt3Subscription)
.
Calling Mqtt3SubscriptionBuilder.Nested.Complete.applySubscription()
on the returned builder has the same
effect as calling addSubscription(Mqtt3Subscription)
with the result of Mqtt3SubscriptionBuilder.Complete.build()
.
addSubscription(Mqtt3Subscription)