OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

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

2.6.2 Overview of the continuous reception function for one-way messages

The continuous reception function for one-way messages allows the client to receive continuous one-way messages from the server. This function starts when the dc_clt_open_notification_s function is executed and terminates when the dc_clt_close_notification_s function is executed. Ordinarily, if the server sends a one-way message to the client when the client is not ready to receive one-way messages from the server, an error is returned. However, if the continuous reception function for one-way messages is used, no error is returned because the messages are stored in the TCP/IP queue. The messages leave the queue when the client issues the function that receives one-way messages. The following figure shows the processing flow for the continuous reception function for one-way messages.

Figure 2-31 Processing flow for the continuous reception function for one-way messages

[Figure]