HP Rp2430 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 39
Confirm Association
View all HP Rp2430 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 39 highlights
Figure 3-7 Using ACSE/Presentation Step 2: Establish an Association Process B can reject the connection if the proposed transfer syntax is not supported by setting the res field in structure ap_cdrl_t to USER_REJ or PROV_REJ and prov_rsn is the reason for the reject. If the process cannot accept the association request for other reasons, the process sets the reason using the A_ASSOC_RSP primitive. Confirm Association Process A AP Environment A ap_rcv() ap_get_env() ap_set_env() Process B AP Environment B AP_PCDL,pcdl AP_PCDRL.pcdrl ap_poll() Initiator Communication Endpoint A ap_snd() request assoc. Responder Communication Endpoint B (listening) Chapter 3 39
Chapter 3
39
Using ACSE/Presentation
Step 2: Establish an Association
Process B can reject the connection if the proposed transfer syntax is not
supported by setting the res field in structure ap_cdrl_t to USER_REJ or
PROV_REJ and prov_rsn is the reason for the reject. If the process
cannot accept the association request for other reasons, the process sets
the reason using the A_ASSOC_RSP primitive.
Figure 3-7
Confirm Association
Communication
Communication
Endpoint A
Endpoint B
Process A
Process B
AP Environment A
AP Environment B
Initiator
Responder
ap_snd()
request assoc.
ap_poll()
(listening)
ap_rcv()
ap_get_env()
ap_set_env()
AP_PCDL,pcdl
AP_PCDRL.pcdrl