Reference

ACE_Scheduling_Strategy(3)

Defines the interface for specifying how to suspend and resume a service .

NAME

ACE_Scheduling_Strategy - Defines the interface for specifying how to suspend and resume a service .

SYNOPSIS

#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;
};

DESCRIPTION

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.

AUTHOR

Doug Schmidt

LIBRARY

ace