OpenTP1 Version 7 Programming Guide

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

2.2 Remote API facility

When a UAP on a client node issues an API, OpenTP1 can transfer the API to the server for processing on the server. This facility is called the remote API facility. A UAP which requests the remote API facility from a client node is called a RAP-processing client. The API issued by the RAP-processing client is accepted by the RAP-processing listener on OpenTP1 and is run on the server node by the RAP-processing server. The RAP-processing listener and RAP-processing server run as user services on OpenTP1. You must set up the operating environment for the RAP-processing listener and RAP-processing server using the rapsetup command.

To use the remote API facility, define the service information (host name and port number) of the communication destination in the user service network definition. Include the -w option in the definition. Create a RAP-processing listener service definition on the server. Also automatically generate user service definitions for the RAP-processing listener and RAP-processing server using the rapdfgen command. The figure below shows the remote API facility.

Figure 2-24 Remote API facility

[Figure]

The following tables show the APIs for which remote execution is possible using the remote API facility for each type of RAP-processing client.

Organization of this section
2.2.1 Application of the remote API facility
2.2.2 Permanent connection
2.2.3 Connection mode
2.2.4 Chained RPCs using the remote API facility
2.2.5 Notes on the remote API facility