@DoNotImplement public static interface Mqtt5ClientConnectionConfig.RestrictionsForClient
Mqtt5Client
sends.Modifier and Type | Method and Description |
---|---|
boolean |
areSubscriptionIdentifiersAvailable()
Returns whether the server accepts subscription identifiers from the client.
|
@NotNull MqttQos |
getMaximumQos()
Returns the maximum
QoS the server accepts from the client. |
int |
getSendMaximum()
Returns the maximum amount of not acknowledged publishes with QoS 1 or 2 the client sends to the server
concurrently.
|
int |
getSendMaximumPacketSize()
Returns the maximum packet size the client sends to the server.
|
int |
getSendTopicAliasMaximum()
Returns the maximum amount of topic aliases the client sends to the server.
|
boolean |
isRetainAvailable()
Returns whether the server accepts retained messages from the client.
|
boolean |
isSharedSubscriptionAvailable()
Returns whether the server accepts shared subscriptions from the client.
|
boolean |
isWildcardSubscriptionAvailable()
Returns whether the server accepts wildcard subscriptions from the client.
|
int getSendMaximum()
The value is determined by the minimum of Mqtt5ConnectRestrictions#getSendMaximum()
and MqttConnAckRestrictions#getReceiveMaximum()
.
int getSendMaximumPacketSize()
The value is determined by the minimum of Mqtt5ConnectRestrictions#getSendMaximumPacketSize()
and MqttConnAckRestrictions#getMaximumPacketSize()
.
int getSendTopicAliasMaximum()
The value is determined by the minimum of Mqtt5ConnectRestrictions#getSendTopicAliasMaximum()
and MqttConnAckRestrictions#getTopicAliasMaximum()
.
@NotNull @NotNull MqttQos getMaximumQos()
QoS
the server accepts from the client.
The value is determined by MqttConnAckRestrictions#getMaximumQos()
.
boolean isRetainAvailable()
The value is determined by MqttConnAckRestrictions#isRetainAvailable()
.
boolean isWildcardSubscriptionAvailable()
The value is determined by MqttConnAckRestrictions#isWildcardSubscriptionAvailable()
.
boolean isSharedSubscriptionAvailable()
The value is determined by MqttConnAckRestrictions#isSharedSubscriptionAvailable()
.
boolean areSubscriptionIdentifiersAvailable()
The value is determined by MqttConnAckRestrictions#areSubscriptionIdentifiersAvailable()
.