2.3.2 ATMI Client Asynchronous Request/Response to Host CPI-C

Figure 2-22 DMCONFIG File Entry


DMCONFIG File Entry

  1. ATMI client invokes toupsrv service.
  2. The toupsrv service issues tpacall for SIMPCPIC, which is advertised in the DM_REMOTE_SERVICES section of the DMCONFIG file.
  3. The remote service with tpname TPNCPIC invokes TOUPCPIC program.
  4. The server accepts the conversation with the cmaccp call. The conversation id returned on the request in convid is used for all other requests on this conversation.
  5. The cmrcv request receives the idata buffer contents for processing.
  6. The TOUPCPIC program processes data.
  7. The cmsendcommand returns the obuffer contents into the client tpgetreply odata buffer. The data may not be immediately sent to the tpgetreply odata buffer on this request.
  8. The cmdeal flushes the data to the client, and indicates the conversation is finished.