#include <Strategies_T.h>
Inheritance diagram for ACE_Scheduling_Strategy:

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... | |
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.
|
|||||
|
Definition at line 632 of file Strategies_T.h. |
|
|||||
|
Definition at line 633 of file Strategies_T.h. |
|
|||||
|
Definition at line 634 of file Strategies_T.h. |
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002