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

Programming Guide

Page 6 highlights

Contents Binding the Endpoints 35 Set up the Data Transfer Environment 36 Request the Association 37 Confirm the Association 38 Step 3. Exchanging Data 40 Step 4: Release the Association 42 Requesting the Release 42 Confirm the Release Request 42 Step 5: Closing the Communication Endpoint 44 4. Programming Guide Summary of Programming Tasks 46 1. Prepare the System 48 2. Manage the A/P Environment 49 Determine Initiator and Responder Roles 49 Determine Address Handling 50 Negotiating Application and Presentation Contexts 51 Portability, Migration Considerations 52 3. Managing Data 54 Control Data 54 User Data 54 Multiple Sends and Receives of Data 54 User Data Encoding/Decoding 55 4. Using Synchronous vs. Asynchronous Mode 56 Synchronous Mode 56 Asynchronous Mode 56 Changing Modes 57 5. Managing Multiple Connections 58 6

  • 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

6
Contents
Binding the Endpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
Set up the Data Transfer Environment. . . . . . . . . . . . . . . . . . . . . . . .
36
Request the Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
Confirm the Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
Step 3. Exchanging Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
Step 4: Release the Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
Requesting the Release. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
Confirm the Release Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
Step 5: Closing the Communication Endpoint . . . . . . . . . . . . . . . . . . . .
44
4.
Programming Guide
Summary of Programming Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
1. Prepare the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48
2. Manage the A/P Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49
Determine Initiator and Responder Roles. . . . . . . . . . . . . . . . . . . . . .
49
Determine Address Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50
Negotiating Application and Presentation Contexts . . . . . . . . . . . . .
51
Portability, Migration Considerations . . . . . . . . . . . . . . . . . . . . . . . . .
52
3. Managing Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
Control Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
User Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
Multiple Sends and Receives of Data. . . . . . . . . . . . . . . . . . . . . . . . . .
54
User Data Encoding/Decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
4. Using Synchronous vs. Asynchronous Mode. . . . . . . . . . . . . . . . . . . .
56
Synchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
Asynchronous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
Changing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57
5. Managing Multiple Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58