Notifications

<< Click to Display Table of Contents >>

Navigation:  Technical Documentation > OpenAir SDK > Connection and exchanges with the server >

Notifications

ADMS receives asynchronously messages sent by the server. To listen to them, initHandlers() uses ADMS.setHandler (handlerKey, handlerFunction) to link each notification of interest to a function that will process the message.

These functions are detailed in the JSON handlers field of ADMS.

Each notification takes the form of a name, which is the GUID of the AirDDO concerned, and a string json to interpret.

These notifications are directly related to app.component which re-emits different messages depending on the notification received. These last messages are picked up by the subscribed components.