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.
        Parameters:
        currentSessionId - the current session
        userName - the user to query
        webid - the webid to query
        Returns:
        a list of users matching the query
      • getAmountOfActiveSessions

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