FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSystemChange kSystem_Changes ( kSystem  system)

Reports system changes that have occurred.

Nodes can undergo autonomous state changes that require client state to be refreshed (e.g. sensor goes offline). The kSystem_Changes function can be used to determine the types of such changes that may have occurrred.

The kSystem_Changes function does not perform communcation, and consequently, will not require the caller to block for a long duration.

If topology changes are detected, the kSystem_Refresh function should be called to resolve the changes. If configuration changes are detected, kSystem_Refresh can optionally be used to resolve the changes globally; alternatively, kNode_Refresh can be used to resolve the changes on a per-node basis.

This method is thread-safe.

Parameters
systemkSystem object.
Returns
Bitset describing system changes.