OSF DCE Application Development Guide--Core Components

Contents
11.2.4 Specifying Interface Attributes ...........11-13
11.2.5 Import Declarations ..............11-13
11.2.6 Constant Declarations .............11-14
11.2.7 Type Declarations ...............11-14
11.2.8 Operation Declarations .............11-15
11.3 Running the IDL Compiler ............... 11-16
11.4 Writing the Client Code ...............11-16
11.5 Writing the Server Code ...............11-19
11.5.1 The greet_server.c Source Code ..........11-19
11.5.2 The greet_manager.c Source Code ..........11-22
11.6 Building the greet Programs ..............11-23
11.7 Running the greet Programs ..............11-24
Chapter 12. RPC Fundamentals ................... 12-1
12.1 Universal Unique Identifiers .............. 12-2
12.2 Communications Protocols ............... 12-3
12.3 Binding Information ................ 12-3
12.3.1 Server Binding Information ............ 12-5
12.3.2 Defining a Compatible Server ........... 12-5
12.3.3 How Clients Obtain Server Binding Information ...... 12-7
12.3.4 Client Binding Information for Servers ........ 12-9
12.4 Endpoints .................... 12-10
12.4.1 Well-Known Endpoints .............12-10
12.4.2 Dynamic Endpoints ..............12-11
12.5 Execution Semantics ................12-12
12.6 Communications Failures ...............12-13
12.7 Scaling Applications ................12-13
12.8 RPC Objects ...................12-14
Chapter 13. Basic RPC Routine Usage ................. 13-1
13.1 Overview of the RPC Routines ............. 13-1
13.1.1 Basic Operations of RPC Communications ....... 13-1
13.1.2 Basic Operations of the NSI ............ 13-2
13.1.3 Basic Operations of Authenticated RPCs ........ 13-2
13.2 Server Initialization Using the RPC Routines ......... 13-4
13.2.1 Assigning Types to Objects ............ 13-4
13.2.2 Registering Interfaces ............. 13-6
13.2.3 Selecting RPC Protocol Sequences .......... 13-7
13.2.4 Obtaining a List of Server Binding Handles ....... 13-7
13.2.5 Registering Endpoints ............. 13-7
13.2.6 Making Binding Information Accessible to Clients ..... 13-8
13.2.7 Listening for Calls ..............13-10
13.3 How Clients Find Servers ...............13-10
13.3.1 Searching a Namespace .............13-11
13.3.2 Using String Bindings to Obtain Binding
Information ................13-12
Chapter 14. RPC and Other DCE Components ............... 14-1
124245 Tandem Computers Incorporated vii