OpenTP1 Version 7 Programming Guide

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

3.10.6 MCF event that reports a send error (SERREVT)

SERREVT is reported when a failure occurs in the communication protocol while the MCF is sending a message to a remote system after the UAP that sent the message normally has terminated processing. Be referencing this event, you can confirm that a failure occurred in the communication protocol even if asynchronous message send processing was used (function dc_mcf_send() and function dc_mcf_reply()).

The MHP for an MCF event of SERREVT is a nonresponse-type (noans type) MHP.

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

The figure below shows the outline of SERREVT.

Figure 3-26 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 UAP terminates normally. The MCF that received a send request from the UAP sends a message to the remote system.
  3. A failure occurs in the communication protocol.
  4. Control returns to the MCF. SERREVT is reported and the MHP for an MCF event is scheduled.
  5. The MHP for an MCF event processes SERREVT in accordance with the details reported by SERREVT.