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

ACE_Suspend_Node Class Reference

Suspend a Service Node. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Suspend_Node:

Inheritance graph
[legend]
Collaboration diagram for ACE_Suspend_Node:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Suspend_Node (const ACE_TCHAR *name)
 ~ACE_Suspend_Node (void)
virtual void apply (int &yyerrno)
void dump (void) const
 Dump the state of an object. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Detailed Description

Suspend a Service Node.

Note:
This class is only meant for INTERNAL use by ACE.

Definition at line 75 of file Parse_Node.h.


Constructor & Destructor Documentation

ACE_Suspend_Node::ACE_Suspend_Node const ACE_TCHAR   name
 

Definition at line 149 of file Parse_Node.cpp.

References ACE_TCHAR, and ACE_TRACE.

00150   : ACE_Parse_Node (name)
00151 {
00152   ACE_TRACE ("ACE_Suspend_Node::ACE_Suspend_Node");
00153 }

ACE_INLINE ACE_Suspend_Node::~ACE_Suspend_Node void   
 

Definition at line 7 of file Parse_Node.i.

00008 {
00009 }


Member Function Documentation

void ACE_Suspend_Node::apply int &    yyerrno [virtual]
 

Implements ACE_Parse_Node.

Definition at line 170 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug, LM_DEBUG, and ACE_Service_Config::suspend.

00171 {
00172   ACE_TRACE ("ACE_Suspend_Node::apply");
00173 
00174   if (ACE_Service_Config::suspend (this->name ()) == -1)
00175     yyerrno++;
00176 
00177   if (ACE::debug ())
00178     ACE_DEBUG ((LM_DEBUG,
00179                 ACE_LIB_TEXT ("did suspend on %s, error = %d\n"),
00180                 this->name (),
00181                 yyerrno));
00182 }

void ACE_Suspend_Node::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_Parse_Node.

Definition at line 144 of file Parse_Node.cpp.

References ACE_TRACE.

00145 {
00146   ACE_TRACE ("ACE_Suspend_Node::dump");
00147 }


Member Data Documentation

ACE_Suspend_Node::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Parse_Node.

Definition at line 87 of file Parse_Node.h.


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