Interface SessionInformation


  • @DoNotImplement
    public interface SessionInformation
    Information about the session of an MQTT client.
    Since:
    4.0.0, CE 2019.1
    • 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, else false.
        Since:
        4.0.0, CE 2019.1