Thread: STATUS_MESSAGES
View Single Post
Old October 20th, 2009   #15
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 375
Default

> Does this mean if controller wants edvisory status,
> all the response messsages MUST have the
> type = Advisory

No. If the controller asks for STATUS_WARNING, then the responder should returns any status message of type STATUS_ERROR first, followed by STATUS_WARNING. Each status message is sent with the level matching its severity.

This allows the controller to know which messages are the most important. A controller might choose to show STATUS_ERROR in bright red text, STATUS_WARNING in a little notification window, and STATUS_ADVISORY in a hidden log file somewhere.
ericthegeek is offline   Reply With Quote