Messages from the shim
The framework reads the shim’s queue each frame. Some messages come from the shim itself: obx.key, obx.error and obx.status. They never reach your Message handler, and a page cannot send a message whose type starts with obx..
obx.keymeans a view got Escape or F10. It goes toKeyPressed, and Escape may then hide the view (see Step 7 of the UI guide).obx.statusmeans the view is set up and ready. The shim sends one when it has set the view up. A modal view that gets none within 20 seconds of showing is closed by the framework.obx.errormeans the shim reports an error. The framework stores it inLastErrorand logs it. A serious error closes the view, or switches the session to composition mode in thread mode.obx.framemeans a frame in the view navigated. The framework posts{"type":"obx.frame","view":<id>,"ok":true|false,"status":<number>,"url":"..."}to the page. Treaturlas data (see Frame hosts). It is the oneobx.message the framework passes on to the page, unchanged.
Things to know
- When the queue overflows, the number of dropped messages is reported as an
obx.errorwith the textmessages-dropped. - That report is logged as a warning at most once a minute. A burst inside that minute is added to the next warning, so a count with no later burst is not logged.