OSF DCE Application Development Guide--Introduction and Style Guide
Contents
_____________________________
Preface .......................... ix
Audience .................... ix
Applicability ................... ix
Purpose .................... ix
Document Usage .................. x
Related Documents ................. x
Typographic and Keying Conventions ........... xi
Problem Reporting ................. xi
Pathnames of Directories and Files in DCE Documentation ..... xi
Chapter 1. Introduction to DCE Application Programming .......... 1-1
1.1 Development Overview ............... 1-2
1.2 Overview of DCE Application Development Steps ....... 1-3
1.3 DCE Application Development Tools ........... 1-5
1.3.1 The DCE UUID Generator ............ 1-5
1.3.2 DCE Interface Definition Language .......... 1-6
1.3.3 The DCE IDL Compiler ............. 1-6
1.3.4 The Attribute Configuration File ........... 1-7
1.3.5 The DCE Host Daemon ............. 1-7
1.3.6 The DCE API ................ 1-8
1.3.7 The DCE Control Program ............ 1-8
1.4 The Interface Definition ............... 1-9
1.4.1 Generating the Interface UUID ........... 1-10
1.4.2 Writing the Interface Definition File .......... 1-10
1.4.3 Writing the Attribute Configuration File ........ 1-11
1.4.4 Processing the Files with the IDL Compiler ....... 1-12
1.5 Server Initialization ................. 1-12
1.5.1 Setting Up for Serviceability ............ 1-13
1.5.2 Setting Up the Server’s Objects ........... 1-15
1.5.3 Setting Up Security ............... 1-18
1.5.4 Defining the Manager Entry Point Vectors for Each Set of
Operations ................. 1-19
1.5.5 Registering the Server .............. 1-19
1.5.6 Specifying Multithreadedness ........... 1-23
1.5.7 Listening for Incoming Service Requests ........ 1-23
1.5.8 Cleaning Up Code When the Server Terminates ...... 1-24
1.6 The Client Binding and RPC Invocation ........... 1-25
1.6.1 Importing the Binding Information from the
Namespace ................. 1-26
124246 Tandem Computers Incorporated iii










