Class EmbeddedUserSessionService
java.lang.Object
com.flowable.engage.engine.impl.websocket.EmbeddedUserSessionService
- All Implemented Interfaces:
UserSessionService
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EngageEngineConfiguration
protected final SimpUserRegistry
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedUserSessionService
(EngageEngineConfiguration engineConfiguration, SimpUserRegistry simpUserRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
engineConfiguration
-
simpUserRegistry
-
-
Constructor Details
-
EmbeddedUserSessionService
public EmbeddedUserSessionService(EngageEngineConfiguration engineConfiguration, SimpUserRegistry simpUserRegistry)
-
-
Method Details
-
userConnected
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
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
-