Sets a traffic forwarder host where all IIOP traffic is sent to, no matter what the target address in an IOR specifies.
IIOP.bdh
IiopSetProxy( in sProxyHost : string, in nProxyPort : number ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sProxyHost | Host name where the IIOP traffic forwarder is running. In an empty string is passed, the proxy will be disabled. |
nProxyPort | Port where the IIOP traffic forwarder is listening. If 0 is specified the proxy will be disabled |
dcltrans transaction TInit begin // general settings IiopSetMaxGiopVersion("1.2"); IiopSetByteOrder(IIOP_BIG_ENDIAN); if IiopSetProxy("proxy", 5000) then writeln("IIOP proxy successfully set"); end; end TInit;
IIOP proxy successfully set