Interface SessionInformation
@DoNotImplement public interface SessionInformation
Information about the session of an MQTT client.
- Since:
- 4.0.0, CE 2019.1
-
Method Summary
Modifier and Type Method Description @NotNull StringgetClientIdentifier()longgetSessionExpiryInterval()The session expiry interval, when the session information of the client will be deleted after the client disconnected.booleanisConnected()
-
Method Details
-
getClientIdentifier
- Returns:
- The clients unique identifier.
- Since:
- 4.0.0, CE 2019.1
-
getSessionExpiryInterval
long getSessionExpiryInterval()The session expiry interval, when the session information of the client will be deleted after the client disconnected.- Returns:
- The session expiry interval in seconds.
- Since:
- 4.0.0, CE 2019.1
-
isConnected
boolean isConnected()- Returns:
trueif the client is still connected, elsefalse.- Since:
- 4.0.0, CE 2019.1
-