Interface Mqtt5ClientConnectionConfig.RestrictionsForServer

Enclosing interface:
Mqtt5ClientConnectionConfig

@DoNotImplement public static interface Mqtt5ClientConnectionConfig.RestrictionsForServer
Restrictions for messages a Mqtt5Client receives.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum packet size the client accepts from the server.
    int
    Returns the maximum amount of not acknowledged publishes with QoS 1 or 2 the client accepts from the server concurrently.
    int
    Returns the maximum amount of topic aliases the client accepts from the server.
    boolean
    Returns whether the client requested problem information from the server.
    boolean
    Returns whether the client requested response information from the server.
  • Method Details

    • getReceiveMaximum

      int getReceiveMaximum()
      Returns the maximum amount of not acknowledged publishes with QoS 1 or 2 the client accepts from the server concurrently.

      The value is determined by Mqtt5ConnectRestrictions#getReceiveMaximum().

      Returns:
      the maximum amount of not acknowledged publishes with QoS 1 or 2 the client accepts from the server concurrently.
    • getMaximumPacketSize

      int getMaximumPacketSize()
      Returns the maximum packet size the client accepts from the server.

      The value is determined by Mqtt5ConnectRestrictions#getMaximumPacketSize().

      Returns:
      the maximum packet size the client accepts from the server.
    • getTopicAliasMaximum

      int getTopicAliasMaximum()
      Returns the maximum amount of topic aliases the client accepts from the server.

      The value is determined by Mqtt5ConnectRestrictions#getTopicAliasMaximum().

      Returns:
      the maximum amount of topic aliases the client accepts from the server.
    • isProblemInformationRequested

      boolean isProblemInformationRequested()
      Returns whether the client requested problem information from the server.

      The value is determined by Mqtt5ConnectRestrictions#isRequestProblemInformation().

      Returns:
      whether the client requested problem information from the server.
    • isResponseInformationRequested

      boolean isResponseInformationRequested()
      Returns whether the client requested response information from the server.

      The value is determined by Mqtt5ConnectRestrictions#isRequestResponseInformation().

      Returns:
      whether the client requested response information from the server.