Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Strategies / NULL_Connection_Purging_Strategy.h
bloba7fe50788cc4b80413ab7bfd159282151dfeae68
1 // -*- C++ -*-
3 // ================================================================
4 /**
5 * @file NULL_Connection_Purging_Strategy.h
7 * @author Chad Elliott (elliott_c@ociweb.com)
8 */
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)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/Connection_Purging_Strategy.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 /**
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
36 public:
37 /// The constructor
38 TAO_NULL_Connection_Purging_Strategy (int cache_maximum);
40 /// Does nothing.
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 */