diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-09-18 00:06:07 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-09-18 00:06:07 +0000 |
commit | e12b5d4ffb96ffdce21884a491273fb82a65cab9 (patch) | |
tree | 10e8af6827368c6ceb5e733627c5faf5e361b748 /TAO/tao/Strategies/UIOP_Connector.cpp | |
parent | b792311a6a68d2359ab17efcd36a899eff948baf (diff) | |
download | ATCD-e12b5d4ffb96ffdce21884a491273fb82a65cab9.tar.gz |
ChangeLogTag: Mon Sep 17 19:00:00 2001 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Strategies/UIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/Strategies/UIOP_Connector.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/TAO/tao/Strategies/UIOP_Connector.cpp b/TAO/tao/Strategies/UIOP_Connector.cpp index ded09d4721d..176d1d0e721 100644 --- a/TAO/tao/Strategies/UIOP_Connector.cpp +++ b/TAO/tao/Strategies/UIOP_Connector.cpp @@ -1,7 +1,5 @@ -// This may look like C, but it's really -*- C++ -*- // $Id$ - #include "UIOP_Connector.h" #if TAO_HAS_UIOP == 1 @@ -15,12 +13,12 @@ #include "tao/Base_Transport_Property.h" #include "tao/Transport_Cache_Manager.h" #include "tao/Invocation.h" +#include "tao/Thread_Lane_Resources.h" ACE_RCSID(Strategies, UIOP_Connector, "$Id$") - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) template class ACE_Node<ACE_UNIX_Addr>; @@ -158,8 +156,8 @@ TAO_UIOP_Connector::connect (TAO_GIOP_Invocation *invocation, // Check the Cache first for connections // If transport found, reference count is incremented on assignment - if (this->orb_core ()->transport_cache ()->find_transport (desc, - base_transport) == 0) + if (this->orb_core ()->lane_resources ().transport_cache ().find_transport (desc, + base_transport) == 0) { if (TAO_debug_level > 5) ACE_DEBUG ((LM_DEBUG, @@ -175,7 +173,7 @@ TAO_UIOP_Connector::connect (TAO_GIOP_Invocation *invocation, ACE_TEXT ("making a new connection \n"))); // Purge connections (if necessary) - this->orb_core ()->transport_cache ()->purge (); + this->orb_core ()->lane_resources ().transport_cache ().purge (); // @@ This needs to change in the next round when we implement a // policy that will not allow new connections when a connection @@ -225,8 +223,8 @@ TAO_UIOP_Connector::connect (TAO_GIOP_Invocation *invocation, base_transport = TAO_Transport::_duplicate (svc_handler->transport ()); // Add the handler to Cache int retval = - this->orb_core ()->transport_cache ()->cache_transport (desc, - base_transport); + this->orb_core ()->lane_resources ().transport_cache ().cache_transport (desc, + base_transport); if (retval != 0 && TAO_debug_level > 0) { @@ -346,8 +344,8 @@ TAO_UIOP_Connector::preconnect (const char *preconnects) // Add the handler to Cache int retval = - this->orb_core ()->transport_cache ()->cache_transport (&prop, - handlers[slot]->transport ()); + this->orb_core ()->lane_resources ().transport_cache ().cache_transport (&prop, + handlers[slot]->transport ()); ++successes; if (retval != 0 && TAO_debug_level > 4) |