Interface UserSessionService

All Known Implementing Classes:
EmbeddedUserSessionService, NoOpUserSessionService, RemoteUserSessionService

public interface UserSessionService
Interface that handles the user real time connect and disconnect events.
Author:
Filip Hrisafov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    userConnected(String userId, String tenantId, String sessionId)
    Method invoked when the user has been connected in real time to the application
    void
    userDisconnected(String userId, String tenantId, String sessionId)
    Method invoked when the user has been disconnected from a single session the application
  • Method Details

    • userConnected

      void userConnected(String userId, String tenantId, 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(String userId, String tenantId, 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