Interface SessionMonitorService

  • public interface SessionMonitorService
    Interface of the SessionMonitorService for retrieving active sessions and amount of active sessions.
    • Method Detail

      • getActiveSessions

        List<XCEditorSession> getActiveSessions​(String currentSessionId,
                                                String userName,
                                                String webid)
        Queries the active sessions for a certain user and webid marking the session matching the currentSessionId as current.
        currentSessionId - the current session
        userName - the user to query
        webid - the webid to query
        a list of users matching the query
      • getAmountOfActiveSessions

        int getAmountOfActiveSessions​(String userName)
        Retrieves the amount of sessions for the specified user.
        userName - the user to query.
        the amount of active sessions