Interface Mqtt5ClientConfiguration

All Superinterfaces:
MqttClientConfiguration

public interface Mqtt5ClientConfiguration extends MqttClientConfiguration
MQTT v5 Client Configuration.
Since:
3.0.0
Author:
Sergio del Amo
  • Method Details

    • isCleanStart

      boolean isCleanStart()
      Returns:
      true if a new sessions should be started for connection.
    • getSessionExpiryInterval

      Long getSessionExpiryInterval()
      Returns:
      the session expiry interval in seconds.
    • getReceiveMaximum

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

      Integer getMaximumPacketSize()
      Returns:
      the maximum packet size the client sends to the server.
    • getTopicAliasMaximum

      Integer getTopicAliasMaximum()
      Returns:
      the maximum amount of topic aliases the client accepts from the server.
    • isRequestResponseInfo

      boolean isRequestResponseInfo()
      Returns:
      whether the client requests response information from the server.
    • isRequestProblemInfo

      boolean isRequestProblemInfo()
      Returns:
      whether the client requests problem information from the server.
    • getUserProperties

      Map<String,String> getUserProperties()
      Returns:
      the user defined properties tha should be sent for every message.