summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2003-08-09 13:17:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2003-08-09 13:17:51 +0000
commitd82783f36cb405e0d314c917bbbb14a1e35ef420 (patch)
tree5ad5f68f366119547372cbaaf106ad68b3049dcb /TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp
parent5a0803a392f56db13c6339881dd705eda48a4faa (diff)
downloadATCD-d82783f36cb405e0d314c917bbbb14a1e35ef420.tar.gz
ChangeLogTag: Sat Aug 9 13:17:12 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp
index 9408ac757b8..c9240341239 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP_Factory.cpp
@@ -29,7 +29,8 @@ TAO_EC_Gateway_IIOP_Factory::TAO_EC_Gateway_IIOP_Factory (void)
consumer_ec_control_ (TAO_ECG_DEFAULT_IIOP_CONSUMEREC_CONTROL),
consumer_ec_control_period_ (TAO_ECG_DEFAULT_IIOP_CONSUMEREC_CONTROL_PERIOD),
consumer_ec_control_timeout_ (TAO_ECG_DEFAULT_IIOP_CONSUMEREC_CONTROL_TIMEOUT),
- use_ttl_ (TAO_ECG_DEFAULT_IIOP_USE_TTL)
+ use_ttl_ (TAO_ECG_DEFAULT_IIOP_USE_TTL),
+ use_consumer_proxy_map_ (TAO_ECG_DEFAULT_IIOP_USE_CONSUMER_PROXY_MAP)
{
}
@@ -120,6 +121,18 @@ TAO_EC_Gateway_IIOP_Factory::init (int argc, char* argv[])
}
}
+ else if (ACE_OS::strcasecmp (arg, ACE_LIB_TEXT("-ECGIIOPUseConsumerProxyMap")) == 0)
+ {
+ arg_shifter.consume_arg ();
+
+ if (arg_shifter.is_parameter_next ())
+ {
+ const ACE_TCHAR* opt = arg_shifter.get_current ();
+ this->use_consumer_proxy_map_ = ACE_OS::atoi (opt);
+ arg_shifter.consume_arg ();
+ }
+ }
+
else
{
arg_shifter.ignore_arg ();