Next: , Previous: , Up: Writing Plugins   [Contents]


8.2 Lifecycle

  1. The adapter scans *.so files and records info by name.
  2. Configuration selects one name and calls stca_plugin_create, then stca_plugin_configure(plugin, <plugin> node).
  3. After the D-Bus (and optional HTTP) server is listening, the adapter calls stca_plugin_start.
  4. On shutdown it calls stca_plugin_stop.

Implement the virtual methods on STCAPluginClass: configure, start, stop, write_value, and optionally write_values.