Interface Mqtt3ConnectRestrictionsBuilderBase<B extends Mqtt3ConnectRestrictionsBuilderBase<B>>

Type Parameters:
B - the type of the builder.
All Known Subinterfaces:
Mqtt3ConnectRestrictionsBuilder, Mqtt3ConnectRestrictionsBuilder.Nested<P>

@DoNotImplement public interface Mqtt3ConnectRestrictionsBuilderBase<B extends Mqtt3ConnectRestrictionsBuilderBase<B>>
Builder base for Mqtt3ConnectRestrictions.
Since:
1.3
  • Method Details

    • sendMaximum

      @CheckReturnValue @NotNull B sendMaximum(int receiveMaximum)
      Sets the send maximum.

      The value must not be zero and must be in the range of an unsigned short: [1, 65_535].

      Parameters:
      receiveMaximum - the send maximum.
      Returns:
      the builder.
    • sendMaximumPacketSize

      @CheckReturnValue @NotNull B sendMaximumPacketSize(int maximumPacketSize)
      Sets the maximum packet size for sending.

      The value must not be zero and in the range: [1, 268_435_460].

      Parameters:
      maximumPacketSize - the maximum packet size for sending.
      Returns:
      the builder.