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

Start OTS before executing ACSE/Presentation applications.

Page 47 highlights

Programming Guide Summary of Programming Tasks 5. Decide if multiple associations need to be supported. The process accepting multiple connections needs to create additional communication endpoints and instances of the A/P environment. Review the paragraphs describing: execution mode, connection retry, and maximum number of connections supported (system, processes, and other applications). 6. Other tasks: • Understand how file descriptors, common parameters, data, and structures are used in ACSE/Presentation applications. • Handle signals. You need to create signal handler routines to capture unexpected program interrupts. • Handle errors. ACSE/Presentation calls return values indicating success or failure, and also return specific error conditions that the processes must handle. 7. Prepare to start your applications. Before running: • Determine how the remote processes will be started. • Check the system before executing applications. • Start OTS before executing ACSE/Presentation applications. • If you install a new version of HP OTS/9000, you must re-link your programs with the new library. 8. Troubleshoot your application. If you have problems, you can use API tracing described in chapter 5, "Troubleshooting your Application." Chapter 4 47

  • 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

Chapter 4
47
Programming Guide
Summary of Programming Tasks
5.
Decide if multiple associations need to be supported. The process
accepting multiple connections needs to create additional
communication endpoints and instances of the A/P environment.
Review the paragraphs describing: execution mode, connection retry,
and maximum number of connections supported (system, processes,
and other applications).
6.
Other tasks:
Understand how file descriptors, common parameters, data, and
structures are used in ACSE/Presentation applications.
Handle signals. You need to create signal handler routines to
capture unexpected program interrupts.
Handle errors. ACSE/Presentation calls return values indicating
success or failure, and also return specific error conditions that the
processes must handle.
7.
Prepare to start your applications. Before running:
Determine how the remote processes will be started.
Check the system before executing applications.
Start OTS before executing ACSE/Presentation applications.
If you install a new version of HP OTS/9000, you must re-link your
programs with the new library.
8.
Troubleshoot your application. If you have problems, you can use API
tracing described in chapter 5, “Troubleshooting your Application.”