## NAME

ACE_Service_Object - Provide the abstract base class common to all service implementations.

## SYNOPSIS

    #include <ace/Service_Object.h>

    class ACE_Service_Object :
      public ACE_Event_Handler,
      public ACE_Shared_Object
    {
      public:
        ACE_Service_Object (ACE_Reactor * = 0);
        virtual ~ACE_Service_Object (void);
        virtual int suspend (void);
        virtual int resume (void);
    };

## DESCRIPTION

Classes that inherit from `ACE_Service_Objects` are capable of being registered with the `ACE_Reactor` (due to the `ACE_Event_Handler`, as well as being dynamically linked by the `ACE_Service_Config` (due to the `ACE_Shared_Object`).

## Initialization and termination methods.

    ACE_Service_Object (ACE_Reactor * = 0);

Constructor.

    virtual ~ACE_Service_Object (void);

Destructor.

    virtual int suspend (void);

Temporarily disable a service without removing it completely.

    virtual int resume (void);

Re-enable a previously suspended service.

## AUTHOR

Doug Schmidt

## LIBRARY

ace