Package com.flowable.platform.websocket
Class RemoteUserSessionService
java.lang.Object
com.flowable.platform.websocket.RemoteUserSessionService
- All Implemented Interfaces:
UserSessionService
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteUserSessionService(RestTemplate restTemplate, String userStatusBaseUrl) -
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
-
USER_CONNECTED_TEMPLATE
- See Also:
-
USER_CONNECTED_WITH_TENANT_TEMPLATE
- See Also:
-
USER_DISCONNECTED_TEMPLATE
- See Also:
-
USER_DISCONNECTED_WITH_TENANT_TEMPLATE
- See Also:
-
logger
protected final org.slf4j.Logger logger -
restTemplate
-
userStatusBaseUrl
-
-
Constructor Details
-
RemoteUserSessionService
-
-
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
-