#include <Cleanup_Strategies_T.h>
Inheritance diagram for ACE_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >:
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. |
The entry to be cleaned up is removed from the container. Here, since we are dealing with svc_handlers specifically, we perform a couple of extra operations.
Definition at line 66 of file Cleanup_Strategies_T.h.
|
The method which will do the cleanup of the entry in the container.
Reimplemented from ACE_Cleanup_Strategy< KEY, VALUE, CONTAINER >. Definition at line 32 of file Cleanup_Strategies_T.cpp.
00036 { 00037 VALUE value; 00038 00039 if (container.unbind (*key, value) == -1) 00040 return -1; 00041 00042 value.first ()->recycler (0, 0); 00043 00044 value.first ()->close (); 00045 00046 return 0; 00047 } |