OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide
The GPI Library
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide—424822-001
2-9
Message Transfer Procedures
Figure 2-5 shows a complete view of program flow, this time with message transfer
procedures highlighted. In this view, outbound and inbound processing occur in the
same session, and outbound processing precedes inbound processing. However, as
described in Sections 4 and 5 of this guide, outbound and inbound processing can be in
any order and do not necessarily occur in the same session.
Figure 2-4. GPI Program Flow: Message Transfer Procedures
204CDT .CDD
GPI Procedure
GPI_MT_TRANSFER_OUT_
GPI_INITIALIZE_
GPI_OPEN_
GPI_CLOSE_
GPI_MT_FINISH_TRANSFER_IN_
Program Flow
Outbound
Processing
Build root object
Transfer out root object
Inbound
Processing
Close a session
Open a session
Initialize workspace
Retrieve information from root
object (unmodifiable object)
Initiate transfer-in of
root object
Finish transfer-in of
root object
Edit root object
(Modifiable object)
Note: GPI_STATUS_ may
be used anytime after
successful GPI_INITIALIZE_
Composing:
GPI_OM_CREATE_
GPI_OM_INSERT_
GPI_OM_WRITE
Decomposing:
GPI_OM_DELETE_
GPI_OM_REMOVE_
Inspecting:
GPI_OM_EXAMINE_
GPI_OM_FETCH_
GPI_OM_LIST_
GPI_OM_READ_
Copying:
GPI_OM_COPY_
GPI_MT_WAIT_
GPI_MT_START_TRANSFER_IN_
Inspecting:
GPI_OM_EXAMINE_
GPI_OM_FETCH_
GPI_OM_LIST_
GPI_OM_READ_
Copying:
GPI_OM_COPY_
Composing:
GPI_OM_CREATE_
GPI_OM_INSERT_
GPI_OM_WRITE
Decomposing:
GPI_OM_DELETE_
GPI_OM_REMOVE_
Inspecting:
GPI_OM_EXAMINE_
GPI_OM_FETCH_
GPI_OM_LIST_
GPI_OM_READ_
Copying:
GPI_OM_COPY_