B - the type of the builder.@DoNotImplement public interface Mqtt5ConnectRestrictionsBuilderBase<B extends Mqtt5ConnectRestrictionsBuilderBase<B>>
Mqtt5ConnectRestrictions.| Modifier and Type | Method and Description |
|---|---|
B |
maximumPacketSize(int maximumPacketSize)
Sets the
maximum packet size. |
B |
receiveMaximum(int receiveMaximum)
Sets the
receive maximum. |
B |
requestProblemInformation(boolean requestProblemInformation)
Sets whether
problem information is requested. |
B |
requestResponseInformation(boolean requestResponseInformation)
Sets whether
response information is requested. |
B |
sendMaximum(int receiveMaximum)
Sets the
send maximum. |
B |
sendMaximumPacketSize(int maximumPacketSize)
Sets the
maximum packet size for sending. |
B |
sendTopicAliasMaximum(int topicAliasMaximum)
Sets the
topic alias maximum for sending. |
B |
topicAliasMaximum(int topicAliasMaximum)
Sets the
topic alias maximum. |
@CheckReturnValue @NotNull B receiveMaximum(int receiveMaximum)
receive maximum.
The value must not be zero and must be in the range of an unsigned short: [1, 65_535].
receiveMaximum - the receive maximum.@CheckReturnValue @NotNull B sendMaximum(int receiveMaximum)
send maximum.
The value must not be zero and must be in the range of an unsigned short: [1, 65_535].
WARNING: Do not confuse this with receiveMaximum(int).
receiveMaximum - the send maximum.@CheckReturnValue @NotNull B maximumPacketSize(int maximumPacketSize)
maximum packet size.
The value must not be zero and in the range: [1, 268_435_460].
maximumPacketSize - the maximum packet size.@CheckReturnValue @NotNull B sendMaximumPacketSize(int maximumPacketSize)
maximum packet size for sending.
The value must not be zero and in the range: [1, 268_435_460].
WARNING: Do not confuse this with maximumPacketSize(int).
maximumPacketSize - the maximum packet size for sending.@CheckReturnValue @NotNull B topicAliasMaximum(int topicAliasMaximum)
topic alias maximum.
The value must be in the range of an unsigned short: [1, 65_535].
topicAliasMaximum - the topic alias maximum.@CheckReturnValue @NotNull B sendTopicAliasMaximum(int topicAliasMaximum)
topic alias maximum for sending.
The value must be in the range of an unsigned short: [1, 65_535].
WARNING: Do not confuse this with topicAliasMaximum(int).
topicAliasMaximum - the topic alias maximum for sending.@CheckReturnValue @NotNull B requestProblemInformation(boolean requestProblemInformation)
problem information is requested.requestProblemInformation - whether problem information is requested.@CheckReturnValue @NotNull B requestResponseInformation(boolean requestResponseInformation)
response information is requested.requestResponseInformation - whether response information is requested.