pkg://ACE-5.5+TAO-1.5.tar.bz2:19518497/
ACE_wrappers/
TAO/
tao/
Strategies/LFU_Connection_Purging_Strategy.cpp
downloads
// LFU_Connection_Purging_Strategy.cpp,v 1.5 2005/11/04 18:39:05 ossama Exp
#include "LFU_Connection_Purging_Strategy.h"
#include "tao/Transport.h"
ACE_RCSID(tao, LFU_Connection_Purging_Strategy, "LFU_Connection_Purging_Strategy.cpp,v 1.5 2005/11/04 18:39:05 ossama Exp")
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
TAO_LFU_Connection_Purging_Strategy::TAO_LFU_Connection_Purging_Strategy (
int cache_maximum)
: TAO_Connection_Purging_Strategy (cache_maximum)
{
}
TAO_LFU_Connection_Purging_Strategy::~TAO_LFU_Connection_Purging_Strategy (void)
{
}
void
TAO_LFU_Connection_Purging_Strategy::update_item (TAO_Transport* transport)
{
transport->purging_order (transport->purging_order () + 1);
}
TAO_END_VERSIONED_NAMESPACE_DECL