Interface Mqtt5ClientConnectionConfig

All Superinterfaces:
MqttClientConnectionConfig

@DoNotImplement public interface Mqtt5ClientConnectionConfig extends MqttClientConnectionConfig
Connection configuration of an Mqtt5Client.
Since:
1.0
  • Method Details

    • getSessionExpiryInterval

      long getSessionExpiryInterval()
      Returns:
      the session expiry interval in seconds.
    • getEnhancedAuthMechanism

      @NotNull @NotNull Optional<Mqtt5EnhancedAuthMechanism> getEnhancedAuthMechanism()
      Returns:
      the optional enhanced auth mechanism that is used for enhanced authentication and/or authorization.
    • getRestrictionsForServer

      @NotNull @NotNull Mqtt5ClientConnectionConfig.RestrictionsForServer getRestrictionsForServer()
      Returns:
      the restrictions for messages the client receives.
    • getRestrictionsForClient

      @NotNull @NotNull Mqtt5ClientConnectionConfig.RestrictionsForClient getRestrictionsForClient()
      Returns:
      the restrictions for messages the client sends.