ContentClient::ContentClientObserverΒΆ

class kanzi::connect::ContentClient::ContentClientObserver

Polymorphic C++ observer interface for table based content subscriptions.

Public Functions

~ContentClientObserver()

Virtual destructor (for SWIG).

void contentInvalidationRequest(const string &uri, int reason, int startRow, int endRow) = 0

Invoked when content provider informs that certain part of the content has been invalidated.

Parameters
  • uri: The URI

  • reason: reason code. Currently not used.

  • startRow: beginning of invalidation (inclusive). Currently not used.

  • endRow: end of invalidation (inclusive). Currently not used.

void contentSubscriptionResult(const string &uri, ContentDataSharedPtr data) = 0

Invoked when content subscription provides some data.

Parameters
  • uri: The URI

  • data: The data