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
Parameter | Type | Description |
---|---|---|
id | FMS_MESSAGE_ID | The 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
Parameter | Type | Description |
---|---|---|
id | FMS_MESSAGE_ID | The message identifier |
text | string | The message content |
level | MESSAGE_LEVEL | The message severity level |
weight | number | The message priority weight |
target | MESSAGE_TARGET | The message target display |
blinkHandler? | () => boolean | A function returning a boolean indicating if the message should blink |
Returns
void