ACE  6.0.6
Public Types | Public Member Functions
ACE_NOOP_Concurrency_Strategy Class 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 Member Functions

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

Detailed Description

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.


Member Typedef Documentation


Member Function Documentation

int ACE_NOOP_Concurrency_Strategy::activate_svc_handler ( SVC_HANDLER *  svc_handler,
void *  arg = 0 
) [virtual]

This is a no-op.

Reimplemented from ACE_Concurrency_Strategy< SVC_HANDLER >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines