NonStop Software

ORB_init( )

Previous Topic | Next Topic | Contents | Index
Getting Started Guide | Administration Guide | Programmer's Guide

Subtopics

ORB_init( ) Syntax
ORB_init( ) Description
ORB_init( ) Parameters

ORB_init( ) Syntax

ORB_ptr ORB_init (int& <argc>;
  char** <argv>,
  ORBid <orb_identifier>,
  CORBA::Environment& <env>=chooseDefaultEnv( ))

ORB_init( ) Description

The predefined CORBA module contains interfaces to the ORB services. The first step that needs to be performed is the ORB initialization. This is done using the ORB_init operation.

Every application must call ORB_init upon startup. ORB_init initializes a client or server connection to NonStop DOM systems.

ORB_init should be called (directly or indirectly) from main( ). ORB_init should not be called during the C++ static initialization phase. It must be called after the initialization phase.

ORB_init( ) Parameters

ORB_init( ) has the following parameters:

<argc>
Indicates the number of arguments in <argv>.

<argv>
Specifies a series of options or strings to use when <orb_identifier> is a null string of the form:

   -ORB <suffix> <value>

where <suffix> is the option that you set and <value> is the value you set it to. Strings in other formats are ignored.

<orb_identifier>
Specifies a string identifying the ORB. If this parameter is null, the contents of <argv> are checked.

Previous Topic | Next Topic | Contents| Top
Getting Started Guide | Administration Guide | Programmer's Guide
Bibliography | Glossary | Index
© Tandem, a division of Compaq. All rights reserved. Legal notices.