ACE_NOOP_Concurrency_Strategy(3)

ACE_NOOP_Concurrency_Strategy3

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

Usage

#include <ace/ACE_Strategies_T.h>
template<class SVC_HANDLER>
class ACE_NOOP_Concurrency_Strategy : 
  public ACE_Concurrency_Strategy<SVC_HANDLER>
{
  public:
    virtual int activate_svc_handler (
        SVC_HANDLER *svc_handler,
        void *arg = 0
        );
};

Overview

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.

Factory method.

virtual int activate_svc_handler (
    SVC_HANDLER *svc_handler,
    void *arg = 0
    );

This is a no-op.

Library

ace

Author

Doug Schmidt

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.