2.3.1 ATMI Client Request/Response to Host CPI-C

Figure 2-21 DMCONFIG File Entry


DMCONFIG File Entry

  1. ATMI client invokes toupsrv service.
  2. The toupsrv service issues tpcall for SIMPCPIC, which is advertised in the DM_REMOTE_SERVICES section of the DMCONFIG file.
  3. The remote service with the 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 cmsst request prepares the next send request by setting the send type to CM_SEND_AND_DEALLOCATE.
  8. The cmsend request returns the obuffer contents into the client odata buffer. The buffer is flushed, and the conversation ended.