Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SentinelStatus

This class exposes the status features of the sentinel These will listen to the sentinel to the sentinel signalR hub if available

export

Hierarchy

  • SentinelStatus

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

changes$

changes$: Subject<IStatusChange> = new Subject()

The status change stream

memberof

SentinelStatus

eva

eva: TFeatureStatus = "unknown"

The current status of the EVA platform as reported by the sentinel

Private hub

hub: IHubConnection | undefined

The signalR hub connection to the sentinel

internet

internet: TFeatureStatus = "unknown"

The current status of the internet connection as reported by the sentinel

sentinel

sentinel: TFeatureStatus = "unknown"

The current status of the sentinel itself

Methods

getStatus

start

  • start(): Promise<void>
  • Start listening for status updated from the sentinel SignalR hub Note that this can be called multiple times in succession if new application configuration responses arrive. We need to remember which sentinel we are talking to and stay connected if the url does not change

    Returns Promise<void>

stop

  • stop(): Promise<void>