OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J

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

2.5.2 Flow of unidirectional message consecutive reception facility processing

The unidirectional message consecutive reception facility allows you to receive consecutively unidirectional messages from the server after execution of the openNotification method; receipt of such messages continues until the closeNotification method is executed. If this facility is used but the client is not ready to receive unidirectional messages from the server, transmission of the unidirectional messages from the server does not result in an error. The client can retrieve the messages subsequently from the receive queue by executing the acceptNotificationChained method for receiving unidirectional messages.

The following figure shows the flow of unidirectional message consecutive reception facility processing.

Figure 2-23 Flow of unidirectional message consecutive reception facility processing

[Figure]

  1. Waits for a unidirectional message.
  2. Sends a unidirectional message to notify that TP1/Server has started and client applications can now be executed. The unidirectional message from the server is stored in the TCP/IP receive queue.
  3. Retrieves the unidirectional message from the TCP/IP receive queue and returns control to the CUP.
  4. Issues the acceptNotificationChained method to retrieve from the TCP/IP receive queue the unidirectional message sent from the server, then returns control to the CUP.