ACE
6.1.0
|
Defines the interface for specifying how to suspend and resume a single-threaded reactive service . More...
#include <Strategies_T.h>
Public Types | |
typedef ACE_Scheduling_Strategy < SVC_HANDLER > | base_type |
Public Member Functions | |
ACE_Schedule_All_Reactive_Strategy (SVC_HANDLER *=0) | |
Constructor. | |
virtual int | suspend (void) |
Suspend hook. | |
virtual int | resume (void) |
Resume hook. | |
virtual void | dump (void) const |
Dump the state of the object. | |
Protected Attributes | |
ACE_Reactor * | reactor_ |
Reactor. |
Defines the interface for specifying how to suspend and resume a single-threaded reactive service .
This class provides a strategy that suspends and resumes all the Event_Handlers in a Reactor in one fell swoop.
typedef ACE_Scheduling_Strategy<SVC_HANDLER> ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >::base_type |
ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >::ACE_Schedule_All_Reactive_Strategy | ( | SVC_HANDLER * | scheduler = 0 | ) | [inline] |
Constructor.
void ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >::dump | ( | void | ) | const [virtual] |
Dump the state of the object.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
int ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >::resume | ( | void | ) | [virtual] |
Resume hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
int ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >::suspend | ( | void | ) | [virtual] |
Suspend hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
ACE_Reactor* ACE_Schedule_All_Reactive_Strategy< SVC_HANDLER >::reactor_ [protected] |
Reactor.