constructor for AgentAssistWSService
reconnectIntervalInMs in millisecond, maxReconnectAttempts in number and ws url
Use to attempt to reconnect and resubscribe active topics to the web socket worker
used to broadcast the acp messages to other tabs.
message to broadcast
This method to perform the different actions on callback response
This function used to close connection with websocket server
Use to close the web socket
used to connect to the socket.
websocketServer uri
generate topic for WebSocket for given provider ws input
agent assist WebSocket input
Use to initializing the logger
name of class for logger
Use to initializing the web socket worker and will return the method inside the worker
load feature toggles with Feature toggle service
callback for when the socket closed.
callback for when error received
@example - onError();
on websocket message received
message
Callback method when a connection is open and ready to send and receive data
Callback method when a ws reconnect attempts in progress
Callback method when a ws reconnect attempts are completed
Callback method when a ws reconnect attempts was successful
method to parse the response
response
used to register subscription to the agentAssistGetNextEventSubject for getting the AgentAssist getnext event
used to register subscription to the agentAssistWebSocketUnsubsribeSubject for unsubscribing topics for a contact Id
used to register subscription to the agentAssistWSSubject for connect and subscribe to websocket
used to register subscription to the websocket onMessageNotification subject
used to unsubscribe and disconnect to socket events.
used to send heart beat to websocket
Method to send to websocket worker
message send to websocket
Subscribe to websocket topic
Use to terminate the web socket worker
unsubscribe from websocket for a contact Id
contact Id
get next data for contact Id
Generated using TypeDoc
web socket class for agent assist