Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Scheduling_Strategy Class Template Reference

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

#include <Strategies_T.h>

Inheritance diagram for ACE_Scheduling_Strategy:

Inheritance graph
[legend]
List of all members.

Public Types

typedef ACE_TYPENAME SVC_HANDLER::addr_type addr_type
typedef SVC_HANDLER handler_type
typedef ACE_TYPENAME SVC_HANDLER::stream_type stream_type

Public Methods

 ACE_Scheduling_Strategy (SVC_HANDLER *=0)
 Constructor. More...

virtual ~ACE_Scheduling_Strategy (void)
 Destructor. More...

virtual int suspend (void)
 Suspend hook. More...

virtual int resume (void)
 Resume hook. More...

virtual void dump (void) const
 Dump the state of the object. More...


Detailed Description

template<class SVC_HANDLER>
class ACE_Scheduling_Strategy< SVC_HANDLER >

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

This class provides a strategy that allows arbitrarily sophisticated service suspension and resumption. The default behavior is to do nothing...

Definition at line 627 of file Strategies_T.h.


Member Typedef Documentation

template<class SVC_HANDLER>
typedef ACE_TYPENAME SVC_HANDLER::addr_type ACE_Scheduling_Strategy::addr_type
 

Definition at line 632 of file Strategies_T.h.

template<class SVC_HANDLER>
typedef SVC_HANDLER ACE_Scheduling_Strategy::handler_type
 

Definition at line 633 of file Strategies_T.h.

template<class SVC_HANDLER>
typedef ACE_TYPENAME SVC_HANDLER::stream_type ACE_Scheduling_Strategy::stream_type
 

Definition at line 634 of file Strategies_T.h.


Constructor & Destructor Documentation

template<class SVC_HANDLER>
ASYS_INLINE ACE_Scheduling_Strategy< SVC_HANDLER >::ACE_Scheduling_Strategy SVC_HANDLER *    = 0
 

Constructor.

Definition at line 269 of file Strategies_T.i.

References ACE_TRACE.

00270 {
00271   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::ACE_Scheduling_Strategy");
00272 }

template<class SVC_HANDLER>
ASYS_INLINE ACE_Scheduling_Strategy< SVC_HANDLER >::~ACE_Scheduling_Strategy void    [virtual]
 

Destructor.

Definition at line 275 of file Strategies_T.i.

References ACE_TRACE.

00276 {
00277   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::~ACE_Scheduling_Strategy");
00278 }


Member Function Documentation

template<class SVC_HANDLER>
void ACE_Scheduling_Strategy< SVC_HANDLER >::dump void    const [virtual]
 

Dump the state of the object.

Reimplemented in ACE_Schedule_All_Reactive_Strategy.

Definition at line 1185 of file Strategies_T.cpp.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TRACE, and LM_DEBUG.

Referenced by ACE_Schedule_All_Threaded_Strategy::dump, ACE_Schedule_All_Reactive_Strategy::dump, and ACE_Strategy_Acceptor::dump.

01186 {
01187   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::dump");
01188 
01189   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
01190   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
01191 }

template<class SVC_HANDLER>
ASYS_INLINE int ACE_Scheduling_Strategy< SVC_HANDLER >::resume void    [virtual]
 

Resume hook.

Reimplemented in ACE_Schedule_All_Reactive_Strategy.

Definition at line 288 of file Strategies_T.i.

References ACE_TRACE.

Referenced by ACE_Strategy_Acceptor::resume.

00289 {
00290   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::resume");
00291   return -1;
00292 }

template<class SVC_HANDLER>
ASYS_INLINE int ACE_Scheduling_Strategy< SVC_HANDLER >::suspend void    [virtual]
 

Suspend hook.

Reimplemented in ACE_Schedule_All_Reactive_Strategy.

Definition at line 281 of file Strategies_T.i.

References ACE_TRACE.

Referenced by ACE_Strategy_Acceptor::suspend.

00282 {
00283   ACE_TRACE ("ACE_Scheduling_Strategy<SVC_HANDLER>::suspend");
00284   return -1;
00285 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:55:35 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002