Interface Mqtt3ConnectRestrictions


@DoNotImplement public interface Mqtt3ConnectRestrictions
Restrictions applied by the client in an MQTT 3 Connect message.
Since:
1.3
  • Method Details

    • builder

      @NotNull static @NotNull Mqtt3ConnectRestrictionsBuilder 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 is Mqtt5ConnectRestrictions.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 is Mqtt5ConnectRestrictions.DEFAULT_SEND_MAXIMUM_PACKET_SIZE.
      Returns:
      the maximum packet size the client sends to the server.
    • extend

      @NotNull @NotNull Mqtt3ConnectRestrictionsBuilder extend()
      Creates a builder for extending this Connect restrictions.
      Returns:
      the created builder.