Skip to main content

Interface: IMessageReceiver

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/IMessageReceiver.ts:5

IMessageReceiver

Methods

clear()

clear(id): void

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/IMessageReceiver.ts:21

Clears a message

Parameters

ParameterTypeDescription
idFMS_MESSAGE_IDThe message identifier

Returns

void


process()

process(id, text, level, weight, target, blinkHandler?): void

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/IMessageReceiver.ts:15

Processes the message and makes it available to the appropriate target display

Parameters

ParameterTypeDescription
idFMS_MESSAGE_IDThe message identifier
textstringThe message content
levelMESSAGE_LEVELThe message severity level
weightnumberThe message priority weight
targetMESSAGE_TARGETThe message target display
blinkHandler?() => booleanA function returning a boolean indicating if the message should blink

Returns

void