Specifies the overall behavior of the IIOP load engine. The user can choose between the Sybase/Jaguar mode and the standard mode. In the standard mode the IIOP engine behaves according to the CORBA specification.
The Sybase/Jaguar orb behaves slightly different in that it does not regard message ids as significant information to pair up requests with responses. Therefore it does not allow for multi-threaded communication over a particular connection.
IIOP.bdh
IiopSetOrbMode( in eOrbMode : number): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
eOrbMode | Specifies the general IIOP engine mode. Valid options are:
|
dcltrans transaction TMain const HOST := "192.168.20.21"; // server PORT := 1052; // port KEY := "...\h00"; // key KEYLEN := 4; // key length var hIiop : number; // handle to a CORBA object begin IiopSetMaxGiopVersion("1.0"); IiopSetByteOrder(IIOP_BIG_ENDIAN); // set IIOP engine mode to Jaguar orb behavior: // single-threaded communication per connection IiopSetOrbMode(IIOP_ORB_MODE_JAGUAR); IiopObjectCreate(hIiop, "IDL:DemoObject:1.0", "1.2", HOST, PORT, KEY, KEYLEN); IiopRequest(hIiop, "Print"); IiopObjectRelease(hIiop); end TMain;