Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Private RETRY_SYNC_DELAY

RETRY_SYNC_DELAY: number = 2.5 * 1000

Private connectedSocketPromise

connectedSocketPromise: Promise<any> = null

Private subscribeTopics

subscribeTopics: Array<SubscriberTopic<any>> = []

Private unsubscribeTopics

unsubscribeTopics: Array<SubscriberTopic<any>> = []

Private url

url: string

Methods

Private createUnsubscribeFunction

Private findExistingOrAddNewTopic

Private getConnectedSocket

  • getConnectedSocket(): Promise<any>

Private invokeOnDisconnectListeners

Private invokeOnMessageListeners

  • invokeOnMessageListeners(topic: SubscriberTopic<any>, contents: Object): void

Private invokeOnReconnectListeners

Private onMessageReceived

  • onMessageReceived(messageJson: Object): void

Private sendSubscribe

Private sendUnsubscribe

Protected subscribe

Private syncTopicSubscriptions

  • syncTopicSubscriptions(): void

Private topicMatchesDetails

  • topicMatchesDetails(topic: SubscriberTopic<any>, details: object): boolean

Private unsubscribeTopic

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

Generated using TypeDoc