Class RemoteUserSessionService

java.lang.Object
com.flowable.platform.websocket.RemoteUserSessionService
All Implemented Interfaces:
UserSessionService

public class RemoteUserSessionService
extends java.lang.Object
implements UserSessionService
Author:
Filip Hrisafov
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.slf4j.Logger logger  
    protected org.springframework.web.client.RestTemplate restTemplate  
    protected static java.lang.String USER_CONNECTED_TEMPLATE  
    protected static java.lang.String USER_CONNECTED_WITH_TENANT_TEMPLATE  
    protected static java.lang.String USER_DISCONNECTED_TEMPLATE  
    protected static java.lang.String USER_DISCONNECTED_WITH_TENANT_TEMPLATE  
    protected java.lang.String userStatusBaseUrl  
  • Constructor Summary

    Constructors 
    Constructor Description
    RemoteUserSessionService​(org.springframework.web.client.RestTemplate restTemplate, java.lang.String userStatusBaseUrl)  
  • 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 application
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait