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

Reports whether the system has changes that require a refresh.

Nodes can undergo autonomous state changes that require client state to be refreshed (e.g. sensor goes offline). The kSystem_HasChanges function can be used to determine if such changes have occurred.

The kSystem_HasChanges function does not perform communcation, and consequently, will not require the caller to block for a long duration. If changes are detected, the kSystem_Refresh function can be called to resolve the changes.

This method is thread-safe.

Parameters
systemkSystem object.
Returns
kTRUE if the system has changes.