constructor which sets agent session instance
Returns a consistent debug context tag with agentId and tenantId for log messages.
The static method that controls the access to the singleton instance.
Method to add event listeners
user info object
Method to handle close event
current logged in user information
Method to establish connection
user info object
flag to invoke snapshot request
Method to disconnectAgent
Method to establish connection
user info object
Method to failover to get-next polling
error object
Method to get hub url
hub url
Method to call the get-next API once (in order to flush the initial renew-state event from the agent state)
sessionid
Promise that resolves when the API call is successful
Method to get new hub connection
user info object used to establish the connection
retry options for establishing the connection
optional session identifier for the hub connection
hub connection
Method to get valid access token
access token
Method to check the internet connection and handle the disruption This method will start a timer to check the internet connection every 10 seconds.
Method to add event listeners
recieved events
Use to initializing the user slot worker and will return the method inside the worker
Use to initialize the heartbeat worker and start heartbeat tick polling on a worker thread
user info object containing agentId and tenantId
Method to invoke snapshot request
Calls keepalive api on worker thread
sessionid
Use to restart worker
Method to send refresh token
Method to start connection
current logged in user information
Starts KeepAlivePolling for specified agent session
sessionid
Method to send heartbeat
Agent ID
tenant ID
Stops the heartbeat worker, sends a stop message, and clears the reference.
Used to terminate the polling of get-next api
Generated using TypeDoc
Class to connect UI Queue web socket