---
name: "ACE_Scheduling_Strategy"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Scheduling_Strategy"
---

# 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
