RuntimeDataSubscriber

class kanzi::connect::RuntimeDataSubscriber : public ContentLoader::Observer

Utility class for receiving runtimedata along the existing connection to a server.

Unnamed Group

void onContentLoaded (ContentLoader *loader, ContentResult *result) KZ_OVERRIDE

See

kanzi::connect::ContentLoader::Observer

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.

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.