This is an example of a DPI subagent. The code is in the "dpi_samp.c" file.
Note: The example code presented here was copied from the sample file at the time of the publication. For the most up-to-date example code, please see the SVA\DPI directory. There may be differences in the code presented and the code that is shipped with the product. Always use the code provided in the SVA\DPI directory as the authoritative sample code.
Topics
Overview of Subagent Processing
Connecting to the Agent
Registering a Sub-Tree with the
Agent
Processing Requests from the
Agent
Processing a GET Request
Processing a GETNEXT Request
Processing a SET/COMMIT/UNDO
Request
Processing an UNREGISTER Request
Processing an CLOSE Request
Generating a TRAP
Related Information