OpenTP1 Version 7 Description

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

3.2.4 Communication via RPCs that use the XATMI interface

The XATMI interface is an application programming interface (API) that uses client/server communication and conforms to the DTP model defined in X/Open. UAP processes in an OpenTP1 system can communicate with each other using this interface.

Either TCP/IP or OSI TP can be used as the communication protocol with the XATMI interface.

An SUP and SPP can use the XATMI interface to communicate with each other. A stub created from the XATMI interface definition file must be linked to both the SUP and SPP.

XATMI interface functions cannot be used when creating an MHP.

For details about communication using the XATMI interface, see the OpenTP1 Programming Guide.

Organization of this subsection
(1) XATMI communication modes
(2) Method of requesting a service
(3) Data used in communication via the XATMI interface

(1) XATMI communication modes

The XATMI interface provides the following modes of communication:

Figure 3-24 provides an overview of communication using the XATMI interface.

Figure 3-24 Overview of communication using the XATMI interface

[Figure]

(2) Method of requesting a service

To request a service, call the required service function in the server UAP, specifying as the argument a name (service name) that identifies the function.

(3) Data used in communication via the XATMI interface

When using the XATMI interface, you must set the data type for inter-process communication. The buffer that stores typed data used in communication via the XATMI interface is known as typed buffer or typed record.