2.3.7 Host CPI-C to ATMI Asynchronous Request/Response Server with No Reply
Figure 2-27 DMCONFIG File Entry

- The CPI-C application program
MIRRCPIC
is invoked using environment start-up specifications. - The
MIRRCPIC
client requestscminit
to establish conversation attributes and receive a conversation ID that will be used on all other requests on this conversation. The remote server and service are named in the CPI-C side information entryMIRRSIDE
. - The
cmallc
request initiates the advertised service mapped toMIRRORSERV
in the DM_LOCAL_SERVICES section of the DMCONFIG file. - The
cmsend
request sends the contents ofobuffer
to the ATMI service in thetpsvcinfo->data
buffer. - The
cmdeal
request flushes the data, and indicates the conversation is finished with the TPNOREPLY in thetpsvcinfo->flag
field. - The service completes with the
tpreturn
.
Parent topic: CPI-C Programming Examples