Creating New Services
You can run a service (that is, a program) on the Master PC, and UCC
allows this to be called from the TestExecute script. Each service requires an
interface file that represents all of the commands it can receive. The
Synchronisation and TestDriver service interface .ini
files are
provided and will need to be referenced from the ucc.ini
file.
You need to create interface .ini
files for new services.
The interface file contains multiple sections. The first section provides the
name of the service, the ID (used by ONC-RPC) and the version of the service.
The following sections provide the various interface calls that can be made.
You need to configure the interface .ini
file to include the
details of the services that are being used.
[<service name>]
ServiceID = <a unique ID for use by ONC-RPC>
Version = <the interface version>
[<a unique call name>]
CallID = <a unique call id>
<Unique parameter name> = <Compulsory or not by using a 0 or 1>
A typical interface .ini
file has the following structure:
[TestService]
ServiceIID = 0x34630999
Version = 1
[TestCallOne]
CallID = 1
PARAM1 = 0
PARAM2 = 1
[TestCallTwo]
CallID = 2
PARAM1 = 1
PARAM2 = 0
PARAM3 = 1