@DoNotImplement public interface Mqtt5ConnAckRestrictions
MQTT 5 ConnAck message.
These restrictions are used in conjunction with the Mqtt5ConnectRestrictions to form the Mqtt5ClientConnectionConfig.RestrictionsForClient.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAXIMUM_PACKET_SIZE_NO_LIMIT
The default maximum packet size the server accepts from the client which indicates that the packet size is not
limited beyond the restrictions of the encoding.
|
static @NotNull MqttQos |
DEFAULT_MAXIMUM_QOS
The default maximum QoS the server accepts from the client.
|
static int |
DEFAULT_RECEIVE_MAXIMUM
The default maximum amount of not acknowledged publishes with QoS 1 or 2 the server accepts concurrently.
|
static boolean |
DEFAULT_RETAIN_AVAILABLE
The default for whether the server accepts retained messages.
|
static boolean |
DEFAULT_SHARED_SUBSCRIPTION_AVAILABLE
The default for whether the server accepts shared subscriptions.
|
static boolean |
DEFAULT_SUBSCRIPTION_IDENTIFIERS_AVAILABLE
The default for whether the server accepts subscription identifiers.
|
static int |
DEFAULT_TOPIC_ALIAS_MAXIMUM
The default maximum amount of topic aliases the server accepts from the client.
|
static boolean |
DEFAULT_WILDCARD_SUBSCRIPTION_AVAILABLE
The default for whether the server accepts wildcard subscriptions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areSubscriptionIdentifiersAvailable() |
int |
getMaximumPacketSize() |
@NotNull MqttQos |
getMaximumQos() |
int |
getReceiveMaximum() |
int |
getTopicAliasMaximum() |
boolean |
isRetainAvailable() |
boolean |
isSharedSubscriptionAvailable() |
boolean |
isWildcardSubscriptionAvailable() |
static final int DEFAULT_RECEIVE_MAXIMUM
static final int DEFAULT_MAXIMUM_PACKET_SIZE_NO_LIMIT
static final int DEFAULT_TOPIC_ALIAS_MAXIMUM
@NotNull static final @NotNull MqttQos DEFAULT_MAXIMUM_QOS
static final boolean DEFAULT_RETAIN_AVAILABLE
static final boolean DEFAULT_WILDCARD_SUBSCRIPTION_AVAILABLE
static final boolean DEFAULT_SHARED_SUBSCRIPTION_AVAILABLE
static final boolean DEFAULT_SUBSCRIPTION_IDENTIFIERS_AVAILABLE
int getReceiveMaximum()
DEFAULT_RECEIVE_MAXIMUM.int getMaximumPacketSize()
DEFAULT_MAXIMUM_PACKET_SIZE_NO_LIMIT.int getTopicAliasMaximum()
DEFAULT_TOPIC_ALIAS_MAXIMUM.@NotNull @NotNull MqttQos getMaximumQos()
DEFAULT_MAXIMUM_QOS.boolean isRetainAvailable()
DEFAULT_RETAIN_AVAILABLE.boolean isWildcardSubscriptionAvailable()
DEFAULT_WILDCARD_SUBSCRIPTION_AVAILABLE.boolean isSharedSubscriptionAvailable()
DEFAULT_SHARED_SUBSCRIPTION_AVAILABLE.boolean areSubscriptionIdentifiersAvailable()
DEFAULT_SUBSCRIPTION_IDENTIFIERS_AVAILABLE.