The C++ callback interface to be externally implemented. More...
#include <DataDistributionManager.h>
Public Member Functions | |
| virtual const char * | OnConfiguration (const char *channelName, const char *key, const char *value)=0 |
| Invoked during configuration validation. | |
| virtual void | OnLogging (DDM_LOG_LEVEL level, const char *source, const char *function, const char *logStr)=0 |
| Callback invoked when a log is emitted from subsystem. | |
| virtual void | OnCompletelyDisconnected (const char *channelName, const char *reason)=0 |
| Callback invoked on a complete disconnection. | |
The C++ callback interface to be externally implemented.
Implement this interface in an external class and pass the pointer to IDataDistribution::Initialize. The external class will be called conseguently.
|
pure virtual |
Callback invoked on a complete disconnection.
Callback invoked when subsystem detects a complete disconnection from central server or other peers. channelName reports the disconnected channel reason is the reason of disconnection.
Implemented in SmartDataDistributionBase.
|
pure virtual |
Invoked during configuration validation.
The callback is usable to override configuration parameters in some special conditions. channelName reports the channel involved (null for global parameters), key is the parameter key to be checked and value is the actual value.
value if no change is needed, otherwise any new string value according to the expected parameter type Implemented in SmartDataDistributionBase.
|
pure virtual |
Callback invoked when a log is emitted from subsystem.
The callback is usable to receive log information. level is the DDM_LOG_LEVEL of the log reported source is the module source name of the log function is the function, within the module, reporting the log logStr is the reported log string
Implemented in SmartDataDistributionBase.