The omniORB version 3.0
User's Guide
Sai-Lai Lo
(
email:
[email protected]
)
David Riddoch
(
email:
[email protected]
)
Duncan Grisby
(
email:
[email protected]
)
AT&T Laboratories Cambridge
May 2000
Changes and Additions, May 2000
Updated to omniORB 3.
Contents
Introduction
Features
Setting Up Your Environment
Platform specific variables
The Basics
The Echo Object Example
Specifying the Echo interface in IDL
Generating the C++ stubs
Object References and Servants
A Quick Tour of the C++ stubs
Writing the servant implementation
Writing the client
Example 1 --- Colocated Client and Implementation
Example 2 --- Different Address Spaces
Example 3 --- Using the Naming Service
Example 4 --- Using tie implementation templates
Source Listings
C++ language mapping
Incompatibilities with pre-2.8.0 releases
BOA compatibility
Interoperable Naming Service
Object URIs
Configuring resolve_initial_references
omniNames
omniMapper
Creating objects with simple object keys
The IDL compiler
Common options
C++ back-end options
Examples
The omniORB API
ORB initialisation options
Hostname and port
Run-time Tracing and Diagnostic Messages
Server Name
GIOP Message Size
Object table size
POA request holding timeout
Obsolete Initial Object Reference Bootstrapping
GIOP Lowest Common Denominator Mode
GIOP Requesting Principal field
Trapping omniORB Internal Errors
System Exception Handlers
Location forwarding
Interface Type Checking
Introduction
Basic Interface Type Checking
Interface Inheritance
Connection Management
Background
The Model
Idle Connection Shutdown and Remote Call Timeout
Interoperability Considerations
Connection Acceptance
Type Any and TypeCode
Example using type Any
Type Any in omniORB
TypeCode in omniORB
Source Listing
Dynamic Management of Any Values
C++ mapping
The DynAny Interface
The DynStruct Interface
The DynSequence Interface
The DynArray Interface
The DynEnum Interface
The DynUnion Interface
Duplicate DynAny References
Other Operations
The Dynamic Invocation Interface
Overview
Pseudo Objects
Creating Requests
Invoking Operations
Multiple Requests
The Dynamic Skeleton Interface
Overview
DSI Types
Creating Dynamic Implementations
Registering Dynamic Objects
Example
hosts_access(5)
References
This document was translated from L
A
T
E
X by
H
E
V
E
A and H
A
C
H
A
.