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.

Parameters
  • path – the path to serialize

  • stream – where to put the serialized runtime data

Returns

true if data was provided.

virtual string provideRuntimeDataSchema() = 0

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

Returns

the schema.