Skip to main content

Interface: IMessageReceiver

IMessageReceiver

Implemented by

Methods

clear

clear(id): void

Clears a message

Parameters

NameTypeDescription
idFMS_MESSAGE_IDThe message identifier

Returns

void

Defined in

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


process

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

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

Parameters

NameTypeDescription
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

Defined in

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