Closes a connection to a specified CORBA object. Since connections to the corresponding object are opened and close automatically, calling this function is necessary only in individual cases, for example, to perform some specific bootstrapping procedures.
IIOP.bdh
IiopObjectShutdown(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;