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

ACE_NOOP_Concurrency_Strategy Class Template Reference

Implements a no-op activation strategy in order to avoid calling open on a svc_handler multiple times. More...

#include <Strategies_T.h>

Inheritance diagram for ACE_NOOP_Concurrency_Strategy:

Inheritance graph
[legend]
Collaboration diagram for ACE_NOOP_Concurrency_Strategy:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_Concurrency_Strategy<
SVC_HANDLER > 
base_type

Public Methods

virtual int activate_svc_handler (SVC_HANDLER *svc_handler, void *arg=0)
 This is a no-op. More...


Detailed Description

template<class SVC_HANDLER>
class ACE_NOOP_Concurrency_Strategy< SVC_HANDLER >

Implements a no-op activation strategy in order to avoid calling open on a svc_handler multiple times.

An example of the use of this is in the <ACE_Cached_Connect_Strategy>, which reuses svc_handlers. Therefore we don't want to call open on the recycled svc_handler more than once.

Definition at line 769 of file Strategies_T.h.


Member Typedef Documentation

template<class SVC_HANDLER>
typedef ACE_Concurrency_Strategy<SVC_HANDLER> ACE_NOOP_Concurrency_Strategy::base_type
 

Definition at line 775 of file Strategies_T.h.


Member Function Documentation

template<class SVC_HANDLER>
ASYS_INLINE int ACE_NOOP_Concurrency_Strategy< SVC_HANDLER >::activate_svc_handler SVC_HANDLER *    svc_handler,
void *    arg = 0
[virtual]
 

This is a no-op.

Reimplemented from ACE_Concurrency_Strategy.

Definition at line 406 of file Strategies_T.i.

References ACE_TRACE.

00408 {
00409   ACE_TRACE ("ACE_NOOP_Concurrency_Strategy<SVC_HANDLER>::activate_svc_handler");
00410   return 0;
00411 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:51:01 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002