ACE
6.3.3
|
Implements a no-op activation strategy in order to avoid calling open on a svc_handler multiple times. More...
#include <Strategies_T.h>
Public Types | |
typedef ACE_Concurrency_Strategy< SVC_HANDLER > | base_type |
Public Types inherited from ACE_Concurrency_Strategy< SVC_HANDLER > | |
typedef SVC_HANDLER::addr_type | addr_type |
typedef SVC_HANDLER | handler_type |
typedef SVC_HANDLER::stream_type | stream_type |
Public Member Functions | |
virtual int | activate_svc_handler (SVC_HANDLER *svc_handler, void *arg=0) |
This is a no-op. More... | |
Public Member Functions inherited from ACE_Concurrency_Strategy< SVC_HANDLER > | |
ACE_Concurrency_Strategy (int flags=0) | |
Constructor. More... | |
virtual | ~ACE_Concurrency_Strategy (void) |
void | dump (void) const |
Dump the state of an object. More... | |
Additional Inherited Members | |
Public Attributes inherited from ACE_Concurrency_Strategy< SVC_HANDLER > | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Protected Attributes inherited from ACE_Concurrency_Strategy< SVC_HANDLER > | |
int | flags_ |
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.
typedef ACE_Concurrency_Strategy<SVC_HANDLER> ACE_NOOP_Concurrency_Strategy< SVC_HANDLER >::base_type |
|
virtual |
This is a no-op.
Reimplemented from ACE_Concurrency_Strategy< SVC_HANDLER >.