Reference

ACE_Schedule_All_Reactive_Strategy(3)

Defines the interface for specifying how to suspend and resume a single-threaded reactive service .

NAME

ACE_Schedule_All_Reactive_Strategy - Defines the interface for specifying how to suspend and resume a single-threaded reactive service .

SYNOPSIS

#include <ace/ACE_Strategies_T.h>
template<class SVC_HANDLER>
class ACE_Schedule_All_Reactive_Strategy : 
  public ACE_Scheduling_Strategy<SVC_HANDLER>
{
  public:
    ACE_Schedule_All_Reactive_Strategy (SVC_HANDLER * = 0);
    virtual int suspend (void);
    virtual int resume (void);
    virtual void dump (void) const;
  protected:
    ACE_Reactor *reactor_;
};

DESCRIPTION

This class provides a strategy that suspends and resumes all the Event_Handlers in a Reactor in one fell swoop.

Initialization and termination methods.

ACE_Schedule_All_Reactive_Strategy (SVC_HANDLER * = 0);

Constructor

Scheduling methods

virtual int suspend (void);

Suspend hook.

virtual int resume (void);

Resume hook.

virtual void dump (void) const;

Dump the state of the object.

AUTHOR

Doug Schmidt

LIBRARY

ace