Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MqttOverWSProvider

Hierarchy

Implements

  • any

Index

Constructors

constructor

Properties

Protected _topicObservers

_topicObservers: Map<string, Set<SubscriptionObserver<any>>> = new Map()

Accessors

Protected clientId

  • get clientId(): any

Protected clientsQueue

Protected endpoint

  • get endpoint(): any

Protected options

Methods

configure

Protected connect

Protected disconnect

  • disconnect(clientId: string): Promise<void>

getCategory

  • getCategory(): string

getProviderName

  • getProviderName(): string

Protected getTopicForValue

  • getTopicForValue(value: any): any

newClient

  • newClient(__namedParameters: object): Promise<Paho.Client>

onDisconnect

  • onDisconnect(__namedParameters: object): void

publish

  • publish(topics: string[] | string, msg: any): Promise<void>

subscribe