3 // ================================================================
5 * @file NULL_Connection_Purging_Strategy.h
7 * @author Chad Elliott (elliott_c@ociweb.com)
9 // ================================================================
11 #ifndef TAO_NULL_PURGING_STRATEGY_H
12 #define TAO_NULL_PURGING_STRATEGY_H
13 #include /**/ "ace/pre.h"
15 #include "tao/Strategies/strategies_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/Connection_Purging_Strategy.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class TAO_NULL_Connection_Purging_Strategy
29 * @brief The null connection purging strategy
31 * This class does not do anything.
34 class TAO_Strategies_Export TAO_NULL_Connection_Purging_Strategy
: public TAO_Connection_Purging_Strategy
38 TAO_NULL_Connection_Purging_Strategy (int cache_maximum
);
41 virtual void update_item (TAO_Transport
& transport
);
43 /// Returns -1 to signify no maximum
44 virtual int cache_maximum () const;
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
50 #endif /* TAO_NULL_PURGING_STRATEGY_H */