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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:402

Properties

uid

Readonly uid: string

This client's unique ID.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:403

Methods

destroy

destroy(): void

Destroys this client.

Returns

void

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:493


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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:415