Syntax 1For setting ORB property values
Description
Sets ORB property values. This function is used by PowerBuilder
clients connecting to EAServer.
Controls
JaguarORB objects
Syntax
|
1 |
<span>jaguarorb</span>.<span>Init</span> ( <span>options </span>) |
|
Argument |
Description |
|---|---|
|
jaguarorb |
An instance of JaguarORB. |
|
options |
A string that specifies one or more ORB For a complete list of supported ORB properties, see the online |
Return Values
Long. Returns 0 if it succeeds and a negative number if an
error occurs.
Usage
ORB properties configure settings required by the EAServer ORB driver.
You do not need to call the Init function to use the JaguarORB
object. If you do not call Init, the EAServer ORB
driver uses the default property values.
The Init function can be called multiple times on the same
JaguarORB object. PowerBuilder creates a new internal instance of
the JaguarORB object the first time and uses this object for all
subsequent calls.
For additional examples, see the functions on the See also
list.
Examples
The following example shows the use of the Init function
to set the RetryCount and RetryDelay ORB properties:
|
1 |
JaguarORB my_orb |
|
1 |
CORBAObject my_corbaobj |
|
1 |
... |
|
1 |
... |
|
1 |
my_orb = CREATE JaguarORB |
|
1 |
my_orb.<span>Init</span>("ORBRetryCount=3,ORBRetryDelay=1000") |
|
1 |
... |
|
1 |
... |