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 EngageEngineConfigurationprotected final SimpUserRegistry -
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedUserSessionService(EngageEngineConfiguration engineConfiguration, SimpUserRegistry simpUserRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoiduserConnected(String userId, String tenantId, String sessionId) Method invoked when the user has been connected in real time to the applicationvoiduserDisconnected(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:UserSessionServiceMethod invoked when the user has been connected in real time to the application- Specified by:
userConnectedin 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:UserSessionServiceMethod invoked when the user has been disconnected from a single session the application- Specified by:
userDisconnectedin 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
-