C ACI Objects
The fundamental construct in the C IDOL SDK is the ACI object. ACI objects have the following types:
-
Connection
objects allow you to represent details of the ACI server. -
Command
objects allow you to set details of the requests made to the server; for example, the server action and the parameters that it requires. -
Data
objects allow you to access the HTML or XML reply to a server request as a plain text buffer (for later parsing or outputting to a browser, for example) or to parse and map XML replies to a linked list of ACI objects. The API provides functions for user-friendly accessing and manipulating the ACI object linked list.
ACI Object Structure
Each ACI object contains:
-
a value indicating its type (
Connection
,Command
orData
) -
a collection of key-value pairs used to store parameters and their values
-
a link to a child ACI object
-
a link to the next ACI object in the linked list (sibling object)