Interface Mqtt5ConnAck
- All Superinterfaces:
Mqtt5Message
MQTT 5 ConnAck packet. This message is translated from and to an MQTT 5 CONNACK packet.
- Since:
- 1.0
-
Method Summary
-
Method Details
-
getReasonCode
- Returns:
- the Reason Code of this ConnAck message.
-
isSessionPresent
boolean isSessionPresent()- Returns:
- whether the server has a session present.
-
getSessionExpiryInterval
- Returns:
- the optional session expiry interval set from the server. If absent, the session expiry interval from the Connect message is used.
-
getServerKeepAlive
- Returns:
- the optional keep alive set from the server. If absent, the keep alive from the Connect message is used.
-
getAssignedClientIdentifier
- Returns:
- the optional client identifier assigned by the server. If absent, the client identifier from the Connect message is used.
-
getEnhancedAuth
- Returns:
- the optional enhanced authentication and/or authorization related data of this ConnAck message.
-
getRestrictions
- Returns:
- the restrictions set from the server.
-
getResponseInformation
- Returns:
- the optional response information of this ConnAck message to retrieve a response topic from.
-
getServerReference
- Returns:
- the optional server reference.
-
getReasonString
- Returns:
- the optional reason string of this ConnAck message.
-
getUserProperties
- Returns:
- the optional user properties of this ConnAck message.
-
getType
- Specified by:
getTypein interfaceMqtt5Message- Returns:
- the type of this MQTT message.
-