Skip to main content

Class: AvionicsStatusEventClient

A client which receives avionics status data from a central manager and publishes the data locally (i.e. only on the client's hosting JS instrument) to the event bus as avionics status events.

Constructors

constructor

new AvionicsStatusEventClient(uid, bus): AvionicsStatusEventClient

Constructor.

Parameters

NameTypeDescription
uidstringThis client's unique ID.
busEventBusThe event bus.

Returns

AvionicsStatusEventClient

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:391

Properties

uid

Readonly uid: string

This client's unique ID.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:392

Methods

destroy

destroy(): void

Destroys this client.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:482


init

init(): void

Initializes this client. Once initialized, this client will begin communicating with the central manager and publish avionics status events as appropriate.

Returns

void

Throws

Error if this client was destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:404