Interface Mqtt5ClientConfiguration
- All Superinterfaces:
MqttClientConfiguration
MQTT v5 Client Configuration.
- Since:
- 3.0.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Methods inherited from interface io.micronaut.mqtt.hivemq.config.MqttClientConfiguration
getCertificateConfiguration, getClientId, getConnectionTimeout, getCustomWebSocketHeaders, getKeepAliveInterval, getManualAcks, getMaxReconnectDelay, getMqttVersion, getPassword, getServerHost, getServerPort, getServerUri, getSSLHostnameVerifier, getUserName, getWillMessage, isAutomaticReconnect, isHttpsHostnameVerificationEnabled, isSSL
-
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
- Returns:
- the user defined properties tha should be sent for every message.
-