OpenTP1 Version 7 Description

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

3.2.5 Communication via RPCs that use the TxRPC interface

The TxRPC interface is a client/server communication method defined in X/Open. UAP processes in an OpenTP1 system can communicate with each other using this interface.

In TxRPC communication, unlike other client/server modes of communication, the client calls a user-created function to communicate with another UAP.

A UAP that uses the TxRPC interface can also communicate with another UAP by using OpenTP1 remote procedure calls (dc_rpc_call function).

Organization of this subsection
(1) TxRPC communication modes
(2) Application types that can communicate via TxRPC
(3) Creating a UAP for the TxRPC communication

(1) TxRPC communication modes

There are two modes of TxRPC communication: using DCE RPCs or not using DCE RPCs.

For details about the TxRPC communication, see the OpenTP1 Programming Guide.

(2) Application types that can communicate via TxRPC

The following UAPs can be set up so they communicate using TxRPC:

For TxRPC communication, the library requirements differ depending on the type of UAP that is created.

(a) Creating an SUP or SPP

The following product must be included in the system:

(3) Creating a UAP for the TxRPC communication

Figure 3-25 illustrates how to create a UAP that communicates using TxRPC.

Figure 3-25 Overview of TxRPC communication

[Figure]

For details about how to write a UAP that communicates using TxRPC, see the manuals OpenTP1 Programming Guide and OpenTP1 Programming Reference C Language.