Performs the same check as the CORBA standard _is_a function.
Wonderwall.bdh
IiopWWIsA( in hIiop : number, in sIdentifier : string ): boolean;
true if the object’s interface matches sIdentifier
false otherwise
Parameter | Description |
---|---|
hIiop | Handle to a CORBA object. |
sIdentifier | Interface repository string, eg.“IDL:<InterfaceName>:1.0”. |
dcltrans transaction TWWRequest const WW_HOST := "192.168.20.35"; // Wonderwall host WW_PORT := 16000; // Wonderwall port HOST := "192.168.20.21"; // server PORT := 1052; // port var hDaemon, hBank : number; bRet : boolean; begin IiopSetMaxGiopVersion("1.2"); IiopSetByteOrder(IIOP_BIG_ENDIAN); IiopWWBind(WW_HOST, WW_PORT); // OrbixWeb bootstrapping with Wonderwall hDaemon := IiopWWDaemonBind(HOST, PORT); // get proxy object reference to bank object hBank := IiopWWServerBind(hDaemon, HOST, "bank", "", "bank"); bRet := IiopWWIsA(hBank, "IDL:bank:1.0"); ... end TWWRequest;