@DoNotImplement public interface Mqtt5Subscription
MQTT 5 Subscribe message
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_NO_LOCAL
The default for whether the client must not receive messages published by itself.
|
static @NotNull MqttQos |
DEFAULT_QOS
Default
QoS level of a Subscription. |
static boolean |
DEFAULT_RETAIN_AS_PUBLISHED
The default for whether the retain flag for incoming Publish messages must be set to its original value.
|
static @NotNull Mqtt5RetainHandling |
DEFAULT_RETAIN_HANDLING
The default handling of retained message.
|
Modifier and Type | Method and Description |
---|---|
static @NotNull Mqtt5SubscriptionBuilder |
builder()
Creates a builder for a Subscription.
|
@NotNull Mqtt5SubscriptionBuilder |
extend()
Creates a builder for extending this Subscription.
|
@NotNull MqttQos |
getQos() |
@NotNull Mqtt5RetainHandling |
getRetainHandling() |
@NotNull MqttTopicFilter |
getTopicFilter() |
boolean |
isNoLocal() |
boolean |
isRetainAsPublished() |
@NotNull static final @NotNull MqttQos DEFAULT_QOS
QoS
level of a Subscription. It is chosen as MqttQos.EXACTLY_ONCE
as this leeds
to subscribed Publish messages being delivered with its initial QoS
level.static final boolean DEFAULT_NO_LOCAL
@NotNull static final @NotNull Mqtt5RetainHandling DEFAULT_RETAIN_HANDLING
static final boolean DEFAULT_RETAIN_AS_PUBLISHED
@NotNull static @NotNull Mqtt5SubscriptionBuilder builder()
@NotNull @NotNull MqttTopicFilter getTopicFilter()
@NotNull @NotNull MqttQos getQos()
boolean isNoLocal()
DEFAULT_NO_LOCAL
.@NotNull @NotNull Mqtt5RetainHandling getRetainHandling()
DEFAULT_RETAIN_HANDLING
.boolean isRetainAsPublished()
@NotNull @NotNull Mqtt5SubscriptionBuilder extend()