OpenTP1 Version 7 Programming Guide

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

3.10.7 MCF event that reports send completion (SCMPEVT)

SCMPEVT is reported by the MCF when a message was sent normally. This event indicates that an asynchronous message was sent (function dc_mcf_send() and function dc_mcf_reply()) normally to the remote system.

The MHP for an MCF event of SCMPEVT can start processing for synchronization with send completion. At this time, the MHP for an MCF event is a nonresponse-type (noans type) MHP.

SCMPEVT is not reported if you terminate OpenTP1 before events are written to the input queue.

The figure below shows the outline of SCMPEVT.

Figure 3-27 Outline of SERREVT

[Figure]

  1. Report event is set in the arguments of the function dc_mcf_send() or function dc_mcf_reply() and the message is sent.
  2. The MCF that received a send request from the UAP sends a message to the remote system.
  3. The message is sent normally to the remote system.
  4. Control returns to the MCF. SCMPEVT is reported and the MHP for an MCF event is scheduled.
  5. The MHP for an MCF event processes SCMPEVT in accordance with the details reported by SCMPEVT.