Associates a float value parameter with a CORBA object. This function can be used to set parameters of a request in advance of calling the IiopRequest function.
IIOP.bdh
IiopSetFloat( in hIiop : number, in fValue : float ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
hIiop | Handle to a CORBA object |
fValue | Float value that will be associated with the CORBA object |
dcltrans transaction TSetFloat 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); // retrieve handle to server IiopObjectCreate(hIiop, "IDL:DemoObject:1.0", "1.2", HOST, PORT, KEY, KEYLEN); // pass float value parameter to request IiopSetFloat(hIiop, 401.09); // call request "Square" with float value parameter IiopRequest(hIiop, "Square"); ... IiopObjectRelease(hIiop); end TSetFloat;
AsyncBank.bdf, Bank.bdf, SimpleAsyncBank.bdf, TypeTest.bdf, Conf.bdf
You can find the sample script(s) here: <Public documents>\Silk Performer <version>\Samples\Corba