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

ACE_Recycling_Strategy Class Template Reference

Defines the interface (and default implementation) for specifying a recycling strategy for a SVC_HANDLER. More...

#include <Strategies_T.h>

List of all members.

Public Methods

virtual ~ACE_Recycling_Strategy (void)
 Virtual Destructor.

virtual int assign_recycler (SVC_HANDLER *svc_handler, ACE_Connection_Recycling_Strategy *recycler, const void *recycling_act)
 Tell the Svc_Handler something about the recycler, so that it can reach the recycler when necessary.

virtual int prepare_for_recycling (SVC_HANDLER *svc_handler)
 This allows us to prepare the svc_handler for recycling.


Detailed Description

template<class SVC_HANDLER> template class ACE_Recycling_Strategy

Defines the interface (and default implementation) for specifying a recycling strategy for a SVC_HANDLER.

Acts as a consular to the Svc_Handler, preparing it for the tough times ahead when the Svc_Handler will be recycled.


Constructor & Destructor Documentation

template<classSVC_HANDLER>
ASYS_INLINE ACE_Recycling_Strategy< SVC_HANDLER >::~ACE_Recycling_Strategy<SVC_HANDLER> ( void ) [virtual]
 

Virtual Destructor.


Member Function Documentation

template<classSVC_HANDLER>
ASYS_INLINE int ACE_Recycling_Strategy< SVC_HANDLER >::assign_recycler ( SVC_HANDLER * svc_handler,
ACE_Connection_Recycling_Strategy * recycler,
const void * recycling_act ) [virtual]
 

Tell the Svc_Handler something about the recycler, so that it can reach the recycler when necessary.

template<classSVC_HANDLER>
ASYS_INLINE int ACE_Recycling_Strategy< SVC_HANDLER >::prepare_for_recycling ( SVC_HANDLER * svc_handler ) [virtual]
 

This allows us to prepare the svc_handler for recycling.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 10:33:01 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000