Specifies the shutdown behaviour of connections for the IIOP load engine. The user can choose between the graceful method and the hard reset.
IIOP.bdh
IiopSetShutdownMode( in eShutdownMode : number): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
eShutdownMode |
Specifies the shutdown behaviour of connections. 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 nSum : number; begin IiopSetMaxGiopVersion("1.0"); IiopSetByteOrder(IIOP_BIG_ENDIAN); IiopSetShutdownMode(IIOP_SHUTDOWN_RESET); IiopObjectCreate(hIiop, "IDL:DemoObject:1.0", "1.2", HOST, PORT, KEY, KEYLEN); IiopRequest(hIiop, "Print", IIOP_ONEWAY | IIOP_ADDR_PROFILE); IiopObjectRelease(hIiop); // connection is reset end TMain;