OpenTP1 Version 7 Tester and UAP Trace User's Guide

[Contents][Index][Back][Next]

11.1.5 Creating stubs

Stubs are required for UAPs (SPPs and MHPs) that provide services in an RPC, XATMI, or TxRPC environment.

Stubs for UAPs with the RPC or XATMI interface are created by a stub generator from the RPC (or XATMI) interface definition file which contains the RPC (or XATMI) interface definitions. For UAPs with the TxRPC interface, stubs or server UAP templates are created using an OpenTP1 command with the Interface Definition Language file. Translate the stubs using a C compiler, then link the stubs to the server UAP's object file.

Create stubs for the offline tester in the same way as for a job UAP. See the manual OpenTP1 Programming Reference C Language for details.