diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-26 21:17:43 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-26 21:17:43 +0000 |
commit | 8f8a2ba51de660ba91df2342783c72a930e8b39a (patch) | |
tree | 45ba6b108dacafa164126292b98532c4879439c3 /TAO/TAO_IDL/be/be_visitor_interface | |
parent | f6e51c423b2aae302999a13c382ea0c82b2078fb (diff) | |
download | ATCD-8f8a2ba51de660ba91df2342783c72a930e8b39a.tar.gz |
ChangeLogTag:Mon Mar 26 13:06:10 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp | 4 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp index 944d34e8428..cd133ec1bad 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp @@ -56,7 +56,7 @@ be_visitor_interface_strategized_proxy_broker_sh::visit_interface (be_interface << "// Helper methods that takes care to create the proxy" << be_nl << "// as soon as their use is necessary." << be_idt_nl - << "void create_proxy (" << be_idt_nl << "TAO_ORB_Core::TAO_Collocation_Strategies strategy," + << "void create_proxy (" << be_idt_nl << "int collocation_strategy," << be_nl << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl << ");" << be_uidt_nl << be_nl @@ -65,7 +65,7 @@ be_visitor_interface_strategized_proxy_broker_sh::visit_interface (be_interface << "// are totally stateless, and those can be shared by all the" << be_nl << "// instances of a given IDL interface type." << be_nl << "::" << node->full_base_proxy_impl_name () << be_nl - <<" *proxy_cache_[TAO_ORB_Core::COLLOCATION_STRATEGIES_NUM];" + <<" *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];" << be_nl << be_nl << "TAO_SYNCH_MUTEX mutex_;" << be_uidt_nl; diff --git a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp index ace471ec940..d28d73c1de8 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_ss.cpp @@ -46,7 +46,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface *os << node->full_strategized_proxy_broker_name () << "::" << node->strategized_proxy_broker_name () << " (void)" << be_nl << "{" << be_idt_nl // idt = 1 - << "for (int i = 0; i < TAO_ORB_Core::COLLOCATION_STRATEGIES_NUM; ++i)" + << "for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)" << be_idt_nl // idt = 2 << "this->proxy_cache_[i] = 0;" << be_uidt_nl // idt = 1 @@ -57,7 +57,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface *os << node->full_strategized_proxy_broker_name () << "::~" << node->strategized_proxy_broker_name () << " (void)" << be_nl << "{" << be_idt_nl // idt = 1 - << "for (int i = 0; i < TAO_ORB_Core::COLLOCATION_STRATEGIES_NUM; ++i)" + << "for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)" << be_idt_nl // idt = 2 << "delete this->proxy_cache_[i];" << be_uidt_nl // idt = 1 @@ -76,7 +76,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface << be_uidt_nl // idt = 0 << "{" << be_idt_nl // idt = 1 - << "TAO_ORB_Core::TAO_Collocation_Strategies strategy =" + << "int strategy =" << be_idt_nl // idt = 2 << "TAO_ORB_Core::collocation_strategy (object);" << be_uidt_nl << be_nl // idt = 1 @@ -97,7 +97,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface <<node->full_strategized_proxy_broker_name () << "::" << "create_proxy (" << be_idt << be_idt_nl // idt = 2 - << "TAO_ORB_Core::TAO_Collocation_Strategies strategy," + << "int strategy," << be_nl << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl // idt = 1 @@ -116,7 +116,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface << "{" << be_nl; if (be_global->gen_thru_poa_collocation ()) { - *os << "case TAO_ORB_Core::THRU_POA_STRATEGY:" + *os << "case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:" << be_idt_nl // idt = 5 << "ACE_NEW_THROW_EX (" << be_idt << be_idt_nl //idt = 7 @@ -132,7 +132,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface if (be_global->gen_direct_collocation ()) { - *os << "case TAO_ORB_Core::DIRECT_STRATEGY:" + *os << "case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:" << be_idt_nl // idt = 5 << "ACE_NEW_THROW_EX (" << be_idt << be_idt_nl //idt = 7 @@ -146,7 +146,7 @@ be_visitor_interface_strategized_proxy_broker_ss::visit_interface (be_interface << be_nl << be_uidt_nl; // idt = 4 } - *os << "case TAO_ORB_Core::REMOTE_STRATEGY:" << be_nl + *os << "case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:" << be_nl << "default:" << be_idt_nl // idt = 5 << "ACE_NEW_THROW_EX (" |