ACE_Scheduling_Strategy3
Defines the interface for specifying how to suspend and resume a service .
Usage
#include <ace/ACE_Strategies_T.h>
template<class SVC_HANDLER>
class ACE_Scheduling_Strategy
{
public:
ACE_Scheduling_Strategy (SVC_HANDLER * = 0);
virtual ~ACE_Scheduling_Strategy (void);
virtual int suspend (void);
virtual int resume (void);
virtual void dump (void) const;
};
Overview
This class provides a strategy that allows arbitrarily sophisticated service suspension and resumption. The default behavior is to do nothing...
Initialization and termination methods.
ACE_Scheduling_Strategy (SVC_HANDLER * = 0);
Constructor
virtual ~ACE_Scheduling_Strategy (void);
Destructor
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.
Library
ace