Options
All
  • Public
  • Public/Protected
  • All
Menu

Event Hub Provider Class

Hierarchy

  • CXoneEventHubProvider

Index

Constructors

Properties

auth: CXoneAuth = CXoneAuth.instance
eventHubWorker: any
logger: CcfLogger = ...
utilService: HttpUtilService = ...

Methods

  • eventHubSubscription(digitalContacts: string[]): void
  • Method to initiate the event hub worker for digital contact to invoke event hub subscription API

    example
    • eventHubSubscription(['123', '763'])

    Parameters

    • digitalContacts: string[]

    Returns void

  • handleEventHubSubscriptionResponse(response: any): void
  • Callback method which will passed on to the worker and will be executed after event hub epi response then will use where we need

    example
    handleEventHubSubscriptionResponse(response);
    

    Parameters

    • response: any

      event hub subscription response

    Returns void

  • initEventHubWorker(): void
  • Used for initializing the event hub worker and will return the method inside the worker

    example
    this.initEventHubWorker
    

    Returns void

  • terminatePolling(): void
  • Used to terminate the polling of event hub api

    example
    this.eventHubProvider.terminatePolling();
    

    Returns void

Generated using TypeDoc