Interface Mqtt5ConnectRestrictionsBuilderBase<B extends Mqtt5ConnectRestrictionsBuilderBase<B>>
- Type Parameters:
B- the type of the builder.
- All Known Subinterfaces:
Mqtt5ConnectRestrictionsBuilder,Mqtt5ConnectRestrictionsBuilder.Nested<P>
@DoNotImplement
public interface Mqtt5ConnectRestrictionsBuilderBase<B extends Mqtt5ConnectRestrictionsBuilderBase<B>>
Builder base for
Mqtt5ConnectRestrictions.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionmaximumPacketSize(int maximumPacketSize) Sets themaximum packet size.receiveMaximum(int receiveMaximum) Sets thereceive maximum.requestProblemInformation(boolean requestProblemInformation) Sets whetherproblem information is requested.requestResponseInformation(boolean requestResponseInformation) Sets whetherresponse information is requested.sendMaximum(int receiveMaximum) Sets thesend maximum.sendMaximumPacketSize(int maximumPacketSize) Sets themaximum packet size for sending.sendTopicAliasMaximum(int topicAliasMaximum) Sets thetopic alias maximum for sending.topicAliasMaximum(int topicAliasMaximum) Sets thetopic alias maximum.
-
Method Details
-
receiveMaximum
Sets thereceive maximum.The value must not be zero and must be in the range of an unsigned short: [1, 65_535].
- Parameters:
receiveMaximum- the receive maximum.- Returns:
- the builder.
-
sendMaximum
Sets thesend 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).- Parameters:
receiveMaximum- the send maximum.- Returns:
- the builder.
-
maximumPacketSize
Sets themaximum packet size.The value must not be zero and in the range: [1, 268_435_460].
- Parameters:
maximumPacketSize- the maximum packet size.- Returns:
- the builder.
-
sendMaximumPacketSize
Sets themaximum 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).- Parameters:
maximumPacketSize- the maximum packet size for sending.- Returns:
- the builder.
-
topicAliasMaximum
Sets thetopic alias maximum.The value must be in the range of an unsigned short: [1, 65_535].
- Parameters:
topicAliasMaximum- the topic alias maximum.- Returns:
- the builder.
-
sendTopicAliasMaximum
Sets thetopic 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).- Parameters:
topicAliasMaximum- the topic alias maximum for sending.- Returns:
- the builder.
-
requestProblemInformation
Sets whetherproblem information is requested.- Parameters:
requestProblemInformation- whether problem information is requested.- Returns:
- the builder.
-
requestResponseInformation
Sets whetherresponse information is requested.- Parameters:
requestResponseInformation- whether response information is requested.- Returns:
- the builder.
-