summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp')
-rw-r--r--TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp b/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp
index 4799cf3ef42..3df9b6e6ee3 100644
--- a/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp
+++ b/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp
@@ -14,6 +14,7 @@
#include "tao/GIOP_Message_Lite.h"
#include "tao/Server_Strategy_Factory.h"
#include "tao/Base_Transport_Property.h"
+#include "tao/Connection_Purging_Strategy.h"
#include "SHMIOP_Endpoint.h"
#if !defined (__ACE_INLINE__)
@@ -242,8 +243,8 @@ TAO_SHMIOP_Connection_Handler::add_transport_to_cache (void)
TAO_Base_Transport_Property prop (&endpoint);
// Add the handler to Cache
- return this->orb_core ()->transport_cache ().cache_transport (&prop,
- this->transport ());
+ return this->orb_core ()->purging_strategy ()->add_to_cache (&prop,
+ this->transport ());
}