RuntimeDataSubscriber¶
-
class
kanzi::connect
::
RuntimeDataSubscriber
: public ContentLoader::Observer¶ Utility class for receiving runtimedata along the existing connection to a server.
Unnamed Group
-
virtual void onContentLoaded (ContentLoader *loader, ContentResult *result) KZ_OVERRIDE
- See
kanzi::connect::ContentLoader::Observer
-
virtual void onContentInvalidated (ContentLoader *loader) KZ_OVERRIDE
Callback to notify that previously loaded content is no longer valid.
- Parameters
loader – Content loader that invalidated the content.
-
virtual void onRuntimeDataUpdateReceived (ContentLoader *loader, const string &uri, const string &stream) KZ_OVERRIDE
Callback to notify when runtime data update is received.
Public Functions
-
RuntimeDataSubscriber
(ContentClient::RuntimeDataResultCallbackFunction callback)¶ Constructor.
- Parameters
callback – Callback function to be notified when data changes.
-