Interface UserSessionService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void userConnected​(java.lang.String userId, java.lang.String tenantId, java.lang.String sessionId)
      Method invoked when the user has been connected in real time to the application
      void userDisconnected​(java.lang.String userId, java.lang.String tenantId, java.lang.String sessionId)
      Method invoked when the user has been disconnected from a single session the application
    • Method Detail

      • userConnected

        void userConnected​(java.lang.String userId,
                           java.lang.String tenantId,
                           java.lang.String sessionId)
        Method invoked when the user has been connected in real time to the application
        Parameters:
        userId - the id of the user that has connected
        tenantId - the tenant id for the connection
        sessionId - the id of the session that the user is connected to
      • userDisconnected

        void userDisconnected​(java.lang.String userId,
                              java.lang.String tenantId,
                              java.lang.String sessionId)
        Method invoked when the user has been disconnected from a single session the application
        Parameters:
        userId - the id of the user that has been disconnected
        tenantId - the tenant id for the connection
        sessionId - the session id that the user disconnected from