Establishes a connection to a specified CORBA object. Since the IiopRequest function automatically opens a connection to the corresponding object, calling this function is necessary only in individual cases, for example, to perform some specific bootstrapping procedures.
IIOP.bdh
IiopObjectConnect(in hIiop: number): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
hIiop | Handle to a CORBA object |
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 CORBA object begin IiopSetMaxGiopVersion("1.2"); IiopSetByteOrder(IIOP_BIG_ENDIAN);IiopObjectCreate(hIiop, "IDL:DemoObject:1.0", "1.2", HOST, PORT, KEY, KEYLEN); IiopObjectConnect(hIiop); ... IiopObjectShutdown(hIiop); IiopObjectRelease(hIiop); end TMain;