Step 4: Release The Association; Requesting The Release; Confirm The Release Request - HP A4500A - VMEbus Single Board Computer 744 Motherboard Programmer's Manual

Acse/presentation and rose interface programmer's guide
Hide thumbs Also See for A4500A - VMEbus Single Board Computer 744 Motherboard:
Table of Contents

Advertisement

Using ACSE/Presentation

Step 4: Release the Association

Step 4: Release the Association
Processes must cooperate to ensure that no data is lost when the
association is released. This can be accomplished by requesting a release,
accepting the release, then terminating the association.

Requesting the Release

After Process A has completed sending user data, it sends a release
request to Process B using ap_snd() with the A_RELEASE_REQ
primitive (Figure 9).
Process B uses ap_poll() to monitor events, and calls ap_rcv() to receive
the release request.
Figure 3-9
Release Request
Process A
Process B
AP Environment A
AP Environment B
ap_poll()
Responder
Initiator
ap_snd()
Communication
Communication
ap_rcv()
Endpoint B
Endpoint A
release request
Confirm the Release Request
Process B accepts the request and sends a positive response using the
ap_snd() call with the A_RELEASE_RSP primitive (Figure 3-10).
42
Chapter 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents