Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractConnectionStatusService

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected connectionStatus

connectionStatus: ConnectionStatus = ConnectionStatus.ONLINE

Protected Readonly logger

logger: ILogger

Protected Readonly options

Protected Readonly statusChangeEmitter

statusChangeEmitter: Emitter<ConnectionStatus> = new Emitter<ConnectionStatus>()

Accessors

currentStatus

onStatusChange

Methods

dispose

  • dispose(): void

Protected fireStatusChange

Protected updateStatus

  • updateStatus(success: boolean): void