Options
All
  • Public
  • Public/Protected
  • All
Menu

Agent Queues Provider Class

Hierarchy

  • CXoneAgentQueuesProvider

Index

Constructors

Properties

acdSession: ACDSessionManager = ACDSessionManager.instance
agentId: string = ''
apiFacadeBaseUri: string = ''
baseUri: string = ''
boundHandleWorkerMessage: any = ...
cxoneClient: CXoneClient = ...
isIncreasedQueuesPolling: boolean = ...
isQueuesFeatureToggleEnabled: boolean = ...
logger: Logger = ...
pollingInterval: number = ...
pollingWorker: any
urlUtilService: UrlUtilsService = ...
utilService: HttpUtilService = ...

Methods

  • agentQueuesPolling(agentId: string): Promise<void>
  • handleAgentQueueResponse(response: any): void
  • Callback method which will passed on to the worker and will be executed after the polling api response then will publish to the subject subscriber with the agent queue data

    example
    handleAgentQueueResponse(data);
    

    Parameters

    • response: any

      agent queue api response object

    Returns void

  • handleWorkerMessage(response: MessageEvent<any>): void
  • initAgentQueuesWorker(): void
  • restartWorker(agentId: string): void
  • terminatePolling(): void

Generated using TypeDoc