Kanzi Connect  1.1.10
Kanzi Connect C++ API
kanzi::connect::p2p::RuntimeDataProvider Class Referenceabstract

#include <p2pserver.hpp>

Inheritance diagram for kanzi::connect::p2p::RuntimeDataProvider:
kanzi::connect::ClientRemoteServiceHost

Public Member Functions

virtual bool provideLastRuntimeDataValueForPath (const string &path, string &stream)=0
 Once invoked, should provide the current runtime data value for specified path. More...
 
virtual string provideRuntimeDataSchema ()=0
 Once invoked, must provide the complete runtime data schema of the service. More...
 

Member Function Documentation

◆ provideLastRuntimeDataValueForPath()

virtual bool kanzi::connect::p2p::RuntimeDataProvider::provideLastRuntimeDataValueForPath ( const string &  path,
string &  stream 
)
pure virtual

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

Parameters
paththe path to serialize
streamwhere to put the serialized runtime data
Returns
true if data was provided.

◆ provideRuntimeDataSchema()

virtual string kanzi::connect::p2p::RuntimeDataProvider::provideRuntimeDataSchema ( )
pure virtual

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

Returns
the schema.

The documentation for this class was generated from the following file: