Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FrontendConnectionStatusService

Hierarchy

Index

Constructors

Properties

connectionStatus: ConnectionStatus = ConnectionStatus.ONLINE
logger: ILogger
options: ConnectionStatusOptions = ConnectionStatusOptions.DEFAULT
pingService: PingService
scheduledPing: undefined | number
statusChangeEmitter: Emitter<ConnectionStatus> = ...
wsConnectionProvider: WebSocketConnectionProvider

Accessors

Methods

  • clearTimeout(handle?: number): void
  • dispose(): void
  • init(): void
  • performPingRequest(): Promise<void>
  • schedulePing(): void
  • setTimeout(handler: ((...args: any[]) => void), timeout: number): number
  • updateStatus(success: boolean): void