ACE
6.3.3
|
Defines the interface for specifying a reactive concurrency strategy for a SVC_HANDLER, where all upcalls to handle_*
() methods run in the reactor's thread of control.
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 | |
ACE_Reactive_Strategy (int flags=0) | |
"Do-nothing constructor" More... | |
ACE_Reactive_Strategy (ACE_Reactor *reactor, ACE_Reactor_Mask=ACE_Event_Handler::READ_MASK, int flags=0) | |
Initialize the strategy. More... | |
virtual int | open (ACE_Reactor *reactor, ACE_Reactor_Mask=ACE_Event_Handler::READ_MASK, int flags=0) |
Initialize the strategy. More... | |
virtual | ~ACE_Reactive_Strategy (void) |
Destructor. More... | |
virtual int | activate_svc_handler (SVC_HANDLER *svc_handler, void *arg=0) |
void | dump (void) const |
Dump the state of an object. 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... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Public Attributes inherited from ACE_Concurrency_Strategy< SVC_HANDLER > | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Protected Types | |
typedef ACE_Concurrency_Strategy< SVC_HANDLER > | inherited |
Protected Attributes | |
ACE_Reactor * | reactor_ |
Pointer to the Reactor we'll use to register the SVC_HANDLER. More... | |
ACE_Reactor_Mask | mask_ |
Protected Attributes inherited from ACE_Concurrency_Strategy< SVC_HANDLER > | |
int | flags_ |
Defines the interface for specifying a reactive concurrency strategy for a SVC_HANDLER, where all upcalls to handle_*
() methods run in the reactor's thread of control.
This class provides a strategy that registers the SVC_HANDLER with a <Reactor>.
typedef ACE_Concurrency_Strategy<SVC_HANDLER> ACE_Reactive_Strategy< SVC_HANDLER >::base_type |
|
protected |
|
inline |
"Do-nothing constructor"
|
inline |
Initialize the strategy.
|
virtual |
Destructor.
|
virtual |
Activate the svc_handler by registering it with the <Reactor> and then calling it's <open> hook.
Reimplemented from ACE_Concurrency_Strategy< SVC_HANDLER >.
void ACE_Reactive_Strategy< SVC_HANDLER >::dump | ( | void | ) | const |
Dump the state of an object.
|
virtual |
Initialize the strategy.
ACE_Reactive_Strategy< SVC_HANDLER >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
protected |
The mask that we pass to the <Reactor> when we register the SVC_HANDLER.
|
protected |
Pointer to the Reactor we'll use to register the SVC_HANDLER.