Package com.flowable.platform.websocket
Interface UserSessionService
- All Known Implementing Classes:
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(java.lang.String userId, java.lang.String tenantId, java.lang.String sessionId)
Method invoked when the user has been connected in real time to the applicationvoid
userDisconnected(java.lang.String userId, java.lang.String tenantId, java.lang.String sessionId)
Method invoked when the user has been disconnected from a single session the application
-
Method Details
-
userConnected
void userConnected(java.lang.String userId, java.lang.String tenantId, java.lang.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 connectedtenantId
- the tenant id for the connectionsessionId
- the id of the session that the user is connected to
-
userDisconnected
void userDisconnected(java.lang.String userId, java.lang.String tenantId, java.lang.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 disconnectedtenantId
- the tenant id for the connectionsessionId
- the session id that the user disconnected from
-