1.2.23 OcaCommandSetAgent

Class Hierarchy:

OcaRoot : OcaAgent : OcaCommandSetAgent

class OcaCommandSetAgent : OcaAgent

Agent for immediate execution of commandsets. This agent provides a mechanism for simple execution of commandsets in cases where the application does not require the more advanced storage and scheduling features provided by the OcaCommandSet, OcaTaskAgent, and OcaTaskScheduler classes.

Properties:

static const OcaClassID ClassID = "1.2.23"

Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the OcaRoot property.

This property has id 1.1.

static const OcaClassVersionNumber ClassVersion = 1

Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the OcaRoot property.

This property has id 1.2.

Properties inherited from 1.2 OcaAgent:

Methods:

OcaStatus Execute(OcaList32<OcaCommand> Commands, OcaList32<OcaCommandResult> &Results)

Execute a command set. Return the status and returned parameter values from each command. The OcaStatus value returned by this** Execute(…)** method shall be as follows: OK ** Given commands were executed; all, none, or some of them succeeded. **<anything else> Problem, no command execution was attempted

This method has id 3.1.

Methods inherited from 1.2 OcaAgent: