00001 // LRU_Connection_Purging_Strategy.cpp,v 1.11 2006/03/10 07:19:05 jtc Exp 00002 00003 #include "tao/LRU_Connection_Purging_Strategy.h" 00004 #include "tao/Transport.h" 00005 00006 ACE_RCSID (tao, 00007 LRU_Connection_Purging_Strategy, 00008 "LRU_Connection_Purging_Strategy.cpp,v 1.11 2006/03/10 07:19:05 jtc Exp") 00009 00010 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00011 00012 TAO_LRU_Connection_Purging_Strategy::TAO_LRU_Connection_Purging_Strategy ( 00013 int cache_maximum) 00014 : TAO_Connection_Purging_Strategy (cache_maximum), 00015 order_ (0) 00016 { 00017 } 00018 00019 00020 TAO_LRU_Connection_Purging_Strategy::~TAO_LRU_Connection_Purging_Strategy (void) 00021 { 00022 } 00023 00024 00025 void 00026 TAO_LRU_Connection_Purging_Strategy::update_item (TAO_Transport* transport) 00027 { 00028 transport->purging_order (++this->order_); 00029 } 00030 00031 TAO_END_VERSIONED_NAMESPACE_DECL