diff options
Diffstat (limited to 'ACE/TAO/tao/LRU_Connection_Purging_Strategy.cpp')
-rw-r--r-- | ACE/TAO/tao/LRU_Connection_Purging_Strategy.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/TAO/tao/LRU_Connection_Purging_Strategy.cpp b/ACE/TAO/tao/LRU_Connection_Purging_Strategy.cpp new file mode 100644 index 00000000000..2b2b1f9472a --- /dev/null +++ b/ACE/TAO/tao/LRU_Connection_Purging_Strategy.cpp @@ -0,0 +1,31 @@ +// $Id$ + +#include "tao/LRU_Connection_Purging_Strategy.h" +#include "tao/Transport.h" + +ACE_RCSID (tao, + LRU_Connection_Purging_Strategy, + "$Id$") + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +TAO_LRU_Connection_Purging_Strategy::TAO_LRU_Connection_Purging_Strategy ( + int cache_maximum) + : TAO_Connection_Purging_Strategy (cache_maximum), + order_ (0) +{ +} + + +TAO_LRU_Connection_Purging_Strategy::~TAO_LRU_Connection_Purging_Strategy (void) +{ +} + + +void +TAO_LRU_Connection_Purging_Strategy::update_item (TAO_Transport* transport) +{ + transport->purging_order (++this->order_); +} + +TAO_END_VERSIONED_NAMESPACE_DECL |