HP 800 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 30

Synchronous ACSE/Presentation

Page 30 highlights

Using ACSE/Presentation Synchronous ACSE/Presentation Synchronous ACSE/Presentation ACSE/Presentation calls block until the call is complete in synchronous mode. See the section, "Using Synchronous vs. Asynchronous Mode" in chapter 4 for more information. In order to use the ACSE/Presentation service, the processes do the following: 1. Create a communication endpoint. 2. Establish an association that requires: a. Initializing the ACSE/Presentation environment. b. Establishing the roles of each process for the connection, one as initiator, the other as responder. c. Binding the communication endpoint to a presentation address (p-selector, s- selector, t-selector, and NSAP). d. Setting up the data transfer environment. e. Requesting an association f. Confirming the association. 3. Exchange data in the agreed upon context and transfer syntax 4. Release the association: a. Request an association release. b. Confirm a release request. 5. Close down the communication endpoint. The following pages describe these steps in more detail. 30 Chapter 3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

30
Chapter 3
Using ACSE/Presentation
Synchronous ACSE/Presentation
Synchronous ACSE/Presentation
ACSE/Presentation calls block until the call is complete in synchronous
mode. See the section, “Using Synchronous vs. Asynchronous Mode” in
chapter 4 for more information. In order to use the ACSE/Presentation
service, the processes do the following:
1.
Create a communication endpoint.
2.
Establish an association that requires:
a.
Initializing the ACSE/Presentation environment.
b.
Establishing the roles of each process for the connection, one as
initiator, the other as responder.
c.
Binding the communication endpoint to a presentation address
(p-selector, s- selector, t-selector, and NSAP).
d.
Setting up the data transfer environment.
e.
Requesting an association
f.
Confirming the association.
3.
Exchange data in the agreed upon context and transfer syntax
4.
Release the association:
a.
Request an association release.
b.
Confirm a release request.
5.
Close down the communication endpoint.
The following pages describe these steps in more detail.