pkg://ACE+TAO+CIAO-5.5.8.tar.bz2:23766813/
ACE_wrappers/
TAO/
tao/
Strategies/LFU_Connection_Purging_Strategy.cpp
downloads
// $Id: LFU_Connection_Purging_Strategy.cpp 73152 2006-06-20 07:33:02Z jwillemsen $
#include "tao/Strategies/LFU_Connection_Purging_Strategy.h"
#include "tao/Transport.h"
ACE_RCSID(tao, LFU_Connection_Purging_Strategy, "$Id: LFU_Connection_Purging_Strategy.cpp 73152 2006-06-20 07:33:02Z jwillemsen $")
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
TAO_LFU_Connection_Purging_Strategy::TAO_LFU_Connection_Purging_Strategy (
int cache_maximum)
: TAO_Connection_Purging_Strategy (cache_maximum)
{
}
void
TAO_LFU_Connection_Purging_Strategy::update_item (TAO_Transport* transport)
{
transport->purging_order (transport->purging_order () + 1);
}
TAO_END_VERSIONED_NAMESPACE_DECL