Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICallConnector

Implemented by connector plugins for the UniversalCallBot.

Hierarchy

  • ICallConnector

Implemented by

Index

Methods

Methods

onEvent

  • onEvent(handler: function): void
  • Called by the UniversalCallBot at creation time to register a handler for receiving incoming call events from the service.

    Parameters

    • handler: function
        • (event: IEvent, cb?: function): void
        • Parameters

          • event: IEvent
          • Optional cb: function
              • (err: Error): void
              • Parameters

                • err: Error

                Returns void

          Returns void

    Returns void

send

  • send(event: IEvent, cb: function): void
  • Called by the UniversalCallBot to deliver workflow events to the service.

    Parameters

    • event: IEvent
    • cb: function
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method