Class EmbeddedUserSessionService
- java.lang.Object
-
- com.flowable.engage.engine.impl.websocket.EmbeddedUserSessionService
-
- All Implemented Interfaces:
UserSessionService
public class EmbeddedUserSessionService extends Object implements UserSessionService
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected EngageEngineConfiguration
engineConfiguration
protected SimpUserRegistry
simpUserRegistry
-
Constructor Summary
Constructors Constructor Description EmbeddedUserSessionService(EngageEngineConfiguration engineConfiguration, SimpUserRegistry simpUserRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 applicationvoid
userDisconnected(String userId, String tenantId, String sessionId)
Method invoked when the user has been disconnected from a single session the application
-
-
-
Field Detail
-
engineConfiguration
protected final EngageEngineConfiguration engineConfiguration
-
simpUserRegistry
protected final SimpUserRegistry simpUserRegistry
-
-
Constructor Detail
-
EmbeddedUserSessionService
public EmbeddedUserSessionService(EngageEngineConfiguration engineConfiguration, SimpUserRegistry simpUserRegistry)
-
-
Method Detail
-
userConnected
public void userConnected(String userId, String tenantId, String sessionId)
Description copied from interface:UserSessionService
Method invoked when the user has been connected in real time to the application- Specified by:
userConnected
in interfaceUserSessionService
- Parameters:
userId
- the id of the user that has connectedtenantId
- the tenant id for the connectionsessionId
- the id of the session that the user is connected to
-
userDisconnected
public void userDisconnected(String userId, String tenantId, String sessionId)
Description copied from interface:UserSessionService
Method invoked when the user has been disconnected from a single session the application- Specified by:
userDisconnected
in interfaceUserSessionService
- Parameters:
userId
- the id of the user that has been disconnectedtenantId
- the tenant id for the connectionsessionId
- the session id that the user disconnected from
-
-