Interface SessionInformation
-
@DoNotImplement public interface SessionInformation
Information about the session of an MQTT client.- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getClientIdentifier()
long
getSessionExpiryInterval()
The session expiry interval, when the session information of the client will be deleted after the client disconnected.boolean
isConnected()
-
-
-
Method Detail
-
getClientIdentifier
@NotNull String 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:
true
if the client is still connected, elsefalse
.- Since:
- 4.0.0, CE 2019.1
-
-