p2p::RuntimeDataProvider

class kanzi::connect::p2p::RuntimeDataProvider

Subclassed by ClientRemoteServiceHost

Public Functions

virtual bool provideLastRuntimeDataValueForPath(const string &path, string &stream) = 0

Once invoked, should provide the current runtime data value for specified path.

Return

true if data was provided.

Parameters
  • path: the path to serialize

  • stream: where to put the serialized runtime data

virtual string provideRuntimeDataSchema() = 0

Once invoked, must provide the complete runtime data schema of the service.

Return

the schema.