summaryrefslogtreecommitdiff
path: root/ace/Strategies.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-26 01:43:14 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-26 01:43:14 +0000
commit5d3b87a68444cfe7d9b29f149feb87a907b5dec1 (patch)
tree3c9c4134b97200d8a4a900715cdfac543ebd2159 /ace/Strategies.h
parent532c705f54375a9cc089861966d3db61bc4d5644 (diff)
downloadATCD-5d3b87a68444cfe7d9b29f149feb87a907b5dec1.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Strategies.h')
-rw-r--r--ace/Strategies.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ace/Strategies.h b/ace/Strategies.h
index 07eb421db1d..10aa0252a37 100644
--- a/ace/Strategies.h
+++ b/ace/Strategies.h
@@ -79,6 +79,24 @@ protected:
ACE_Reactor *reactor_;
};
+class ACE_Export ACE_Connection_Recycling_Strategy
+ // = TITLE
+ //
+ // Defines the interface for a connection recycler.
+ //
+{
+public:
+
+ virtual ~ACE_Connection_Recycling_Strategy (void);
+ // Virtual Destructor
+
+ virtual int purge (const void *recycling_act) = 0;
+ // Remove from cache.
+
+ virtual int cache (const void *recycling_act) = 0;
+ // Add to cache.
+};
+
// This needs to come here to avoid circular dependencies.
#include "ace/Strategies_T.h"