#include <Strategies_T.h>
Public Types | |
typedef SVC_HANDLER::addr_type | addr_type |
typedef SVC_HANDLER | handler_type |
typedef SVC_HANDLER::stream_type | stream_type |
Public Member Functions | |
virtual | ~ACE_Recycling_Strategy (void) |
Virtual Destructor. | |
virtual int | assign_recycler (SVC_HANDLER *svc_handler, ACE_Connection_Recycling_Strategy *recycler, const void *recycling_act) |
virtual int | prepare_for_recycling (SVC_HANDLER *svc_handler) |
This allows us to prepare the svc_handler for recycling. |
Acts as a consular to the Svc_Handler, preparing it for the tough times ahead when the Svc_Handler will be recycled.
typedef SVC_HANDLER::addr_type ACE_Recycling_Strategy< SVC_HANDLER >::addr_type |
typedef SVC_HANDLER ACE_Recycling_Strategy< SVC_HANDLER >::handler_type |
typedef SVC_HANDLER::stream_type ACE_Recycling_Strategy< SVC_HANDLER >::stream_type |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Recycling_Strategy< SVC_HANDLER >::~ACE_Recycling_Strategy | ( | void | ) | [inline, virtual] |
Virtual Destructor.
int ACE_Recycling_Strategy< SVC_HANDLER >::assign_recycler | ( | SVC_HANDLER * | svc_handler, | |
ACE_Connection_Recycling_Strategy * | recycler, | |||
const void * | recycling_act | |||
) | [inline, virtual] |
Tell the Svc_Handler something about the recycler, so that it can reach the recycler when necessary.
int ACE_Recycling_Strategy< SVC_HANDLER >::prepare_for_recycling | ( | SVC_HANDLER * | svc_handler | ) | [inline, virtual] |
This allows us to prepare the svc_handler for recycling.