Next: , Previous: , Up: STARTER Configurable Adapter   [Contents]


4 Configuration Overview

Root element ‘stca’ with a version attribute, one ‘global’ block, and exactly one ‘plugin’:

<?xml version="1.0" encoding="UTF-8"?>
<stca version="1">
  <global>
    <listen-address>127.0.0.1</listen-address>
    <listen-port>8080</listen-port>
    <adapter-name>STCA:Dummy</adapter-name>
  </global>
  <plugin name="dummy">
    <!-- opaque subtree for the plugin -->
  </plugin>
</stca>

The name attribute must match stca_plugin_info_get_name() of a scanned module. Child elements of ‘plugin’ are passed unchanged to stca_plugin_configure().