Common abstract interface for all PeerHood plugins. Every plugin must implement this interface.
Common abstract interface for all PeerHood plugins. Every real plugin must implement this interface so that the PeerHood Daemon can use it without any further knowledge of plugin's special characteristics. All plugins are compiled as dynamically linkable libraries and loaded as a part of the daemon's startup procedure from the directory pointed by the PH_PLUGIN_DIR environment variable. Every plugin must meet the following requirements:<ol> <li>Plugin's name must end with the 'plugin.so' suffix.</li> <li>Every plugin must have a unique prototype id (a string).</li> <li>A static instance of the plugin must be declared at the end of its implementation.</li> <li>Plugin's constructor must register it to daemon's map: <code>pluginMap["plugin_id"] = this</code>.</li> <li>Plugin must be able to deliver a list of available services to another PeerHood device. This is done by calling the <code> CDaemon::SendServiceList(MAbstractPlugin*)</code> function</li></ol>Every plugin implements MAbstractStateConverter interface. This allows the usage of this class by system state listeners via simple interface.
Alphabetic index HTML hierarchy of classes or Java