Sets the default or an object's firewall handling mode.
Iiop.bdh
IiopSetFirewall( in hIiop : number, in nMode : number ): boolean;
true if successful
false otherwise
| Parameter | Description | 
|---|---|
| hIiop | Handle to a CORBA object | 
| nMode | 
                           
                            Addressing mode. Must be one of: 
  | 
                        
                     
dcltrans transaction TFirewallMode begin // general settings IiopSetMaxGiopVersion("1.2"); IiopSetByteOrder(IIOP_BIG_ENDIAN); IiopSetFirewall(0, IIOP_FIREWALL_USE_ALWAYS); // set default // retrieve handle to server IiopObjectCreate(hIiop, "IDL:DemoObject:1.0", "1.2", HOST, PORT, KEY, KEYLEN); IiopSetFirewall(hIiop, IIOP_FIREWALL_IGNORE); IiopRequest(hIiop, "ARequest"); IiopObjectRelease(hIiop); end TFirewallMode;