Interface Mqtt3ConnectRestrictions
Restrictions applied by the client in an
MQTT 3 Connect message.- Since:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder for Connect restrictions.extend()Creates a builder for extending this Connect restrictions.intReturns the maximum amount of not acknowledged publishes with QoS 1 or 2 the client sends to the server concurrently.intReturns the maximum packet size the client sends to the server.
-
Method Details
-
builder
Creates a builder for Connect restrictions.- Returns:
- the created builder.
-
getSendMaximum
int getSendMaximum()Returns the maximum amount of not acknowledged publishes with QoS 1 or 2 the client sends to the server concurrently. The default isMqtt5ConnectRestrictions.DEFAULT_SEND_MAXIMUM.- Returns:
- the maximum amount of not acknowledged publishes with QoS 1 or 2 the client sends to the server concurrently.
-
getSendMaximumPacketSize
int getSendMaximumPacketSize()Returns the maximum packet size the client sends to the server. The default isMqtt5ConnectRestrictions.DEFAULT_SEND_MAXIMUM_PACKET_SIZE.- Returns:
- the maximum packet size the client sends to the server.
-
extend
Creates a builder for extending this Connect restrictions.- Returns:
- the created builder.
-