You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Session Expiry Interval is absent the value 0 is used. If it is set to 0, or is absent, the Session ends when the Network Connection is closed.
If the Session Expiry Interval is 0xFFFFFFFF (UINT_MAX), the Session does not expire.
The JavaDoc on org.eclipse.paho.mqttv5.client.MqttConnectionOptions#setSessionExpiryInterval should be corrected to reflect the behavior defined in the specification. It would also probably be useful to make org.eclipse.paho.mqttv5.common.packet.MqttDataTypes#FOUR_BYTE_INT_MAX public and reference that in the JavaDoc as an easy way to ensure the session does not expire.
The text was updated successfully, but these errors were encountered:
The JavaDoc on
org.eclipse.paho.mqttv5.client.MqttConnectionOptions#setSessionExpiryInterval
states (in part):However section 3.1.2.11.2 of the MQTT 5 specification states:
The JavaDoc on
org.eclipse.paho.mqttv5.client.MqttConnectionOptions#setSessionExpiryInterval
should be corrected to reflect the behavior defined in the specification. It would also probably be useful to makeorg.eclipse.paho.mqttv5.common.packet.MqttDataTypes#FOUR_BYTE_INT_MAX
public and reference that in the JavaDoc as an easy way to ensure the session does not expire.The text was updated successfully, but these errors were encountered: