Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DuplexIndicator

Hierarchy

Implements

Index

Properties

appName

appName: string = this.getAppName()

clientId

clientId: string = Math.random().toString(35).substr(2, 10)

config

config: object

Type declaration

debug

debug: any

environment

environment: Environment = EnvironmentUtil.getInstance().getCurrentEnvironment()

group

group: string

Protected messengerClient

messengerClient: MetricsMessengerClient = new MetricsMessengerClient(this.group)

name

name: string = this.constructor.name

transferType

transferType: string = "duplex"

type

type: IndicatorType = "singleton"

type of Indicator, default is singleton

type

{string}

Methods

destory

  • destory(): void

Protected getAppName

  • getAppName(): any

getBuilder

Protected getClientDownlinkKey

  • getClientDownlinkKey(appName?: any, clientId?: any): string

Protected getClientUplinkKey

  • getClientUplinkKey(appName?: any, clientId?: any): string

initialize

  • initialize(): void

invoke

  • invoke(data: any, builder: IBuilder): any

Protected isSingleton

  • isSingleton(): boolean

Protected registerDownlink

  • registerDownlink(): void

Protected registerIndicator

  • registerIndicator(): void

registerUplink

  • registerUplink(): any

report

  • report(data: any): void