ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER > Class Template Reference

Defines a strategy to be followed for cleaning up entries which are svc_handlers from a container. More...

#include <Cleanup_Strategies_T.h>

Inheritance diagram for ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >:

Inheritance graph
[legend]
Collaboration diagram for ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual int cleanup (CONTAINER &container, KEY *key, VALUE *value)
 The method which will do the cleanup of the entry in the container.


Detailed Description

template<class KEY, class VALUE, class CONTAINER>
class ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >

Defines a strategy to be followed for cleaning up entries which are svc_handlers from a container.

The entry to be cleaned up is removed from the container. Here, since we are dealing with recyclable svc_handlers with addresses which are refcountable specifically, we perform a couple of extra operations and do so without any locking.

Definition at line 90 of file Cleanup_Strategies_T.h.


Member Function Documentation

template<class KEY, class VALUE, class CONTAINER>
int ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >::cleanup CONTAINER &  container,
KEY *  key,
VALUE *  value
[virtual]
 

The method which will do the cleanup of the entry in the container.

Reimplemented from ACE_Cleanup_Strategy< KEY, VALUE, CONTAINER >.

Definition at line 54 of file Cleanup_Strategies_T.cpp.

00058 {
00059   return value->first ()->handle_close_i ();
00060 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:27:55 2006 for ACE by doxygen 1.3.6