Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Connection_Purging_Strategy Class Reference

The base class for all purging strategies. More...

#include <Connection_Purging_Strategy.h>

Inheritance diagram for TAO_Connection_Purging_Strategy:

Inheritance graph
List of all members.

Public Methods

 TAO_Connection_Purging_Strategy (int cache_maximum)
 The constructor. More...

virtual ~TAO_Connection_Purging_Strategy (void)
 The destructor. More...

virtual int cache_maximum (void) const
 Return the maximum number of cache entries. More...

virtual void update_item (TAO_Transport *transport)=0
 Sub-classes must implement these methods. More...

Private Attributes

int cache_maximum_
 The maximum number of cach entries. More...

Detailed Description

The base class for all purging strategies.

This class is used by the Transport_Cache_Manager to maintain ordering information on each Transport that is created.

Definition at line 35 of file Connection_Purging_Strategy.h.

Constructor & Destructor Documentation

ACE_INLINE TAO_Connection_Purging_Strategy::TAO_Connection_Purging_Strategy int    cache_maximum

The constructor.

Definition at line 4 of file Connection_Purging_Strategy.inl.

00006  : cache_maximum_ (cache_maximum)
00007 {
00008 }

TAO_Connection_Purging_Strategy::~TAO_Connection_Purging_Strategy void    [virtual]

The destructor.

Definition at line 12 of file Connection_Purging_Strategy.cpp.

00013 {
00014 }

Member Function Documentation

int TAO_Connection_Purging_Strategy::cache_maximum void    const [virtual]

Return the maximum number of cache entries.

Definition at line 18 of file Connection_Purging_Strategy.cpp.

References cache_maximum_.

Referenced by TAO_Transport_Cache_Manager::fill_set_i.

00019 {
00020   return cache_maximum_;
00021 }

virtual void TAO_Connection_Purging_Strategy::update_item TAO_Transport   transport [pure virtual]

Sub-classes must implement these methods.

Implemented in TAO_LRU_Connection_Purging_Strategy.

Referenced by TAO_Transport_Cache_Manager::bind_i, TAO_Transport_Cache_Manager::find, and TAO_Transport_Cache_Manager::update_entry.

Member Data Documentation

int TAO_Connection_Purging_Strategy::cache_maximum_ [private]

The maximum number of cach entries.

Definition at line 52 of file Connection_Purging_Strategy.h.

Referenced by cache_maximum.

The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:12:07 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002