ACE_Suspend_Node Class Reference

Suspend a Service Node. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Suspend_Node:

Inheritance graph
Collaboration diagram for ACE_Suspend_Node:

Collaboration graph
List of all members.

Public Member Functions

 ACE_Suspend_Node (const ACE_TCHAR *name)
 ~ACE_Suspend_Node (void)
virtual void apply (ACE_Service_Gestalt *cfg, int &yyerrno)
 Will update the yyereno member and/or the corresponding configuration.

void dump (void) const
 Dump the state of an object.

Public Attributes

 Declare the dynamic allocation hooks.

Private Member Functions

 ACE_Suspend_Node (const ACE_Suspend_Node &)
ACE_Suspend_Nodeoperator= (const ACE_Suspend_Node &)

Detailed Description

Suspend a Service Node.

This class is only meant for INTERNAL use by ACE.

For internal use only.

Definition at line 86 of file Parse_Node.h.

Constructor & Destructor Documentation

ACE_Suspend_Node::ACE_Suspend_Node const ACE_TCHAR name  ) 

Definition at line 147 of file Parse_Node.cpp.

References ACE_TCHAR, and ACE_TRACE.

00148   : ACE_Parse_Node (name)
00149 {
00150   ACE_TRACE ("ACE_Suspend_Node::ACE_Suspend_Node");
00151 }

ACE_Suspend_Node::~ACE_Suspend_Node void   ) 

Definition at line 153 of file Parse_Node.cpp.

00154 {
00155 }

ACE_Suspend_Node::ACE_Suspend_Node const ACE_Suspend_Node  )  [private]

Member Function Documentation

void ACE_Suspend_Node::apply ACE_Service_Gestalt cfg,
int &  yyerrno

Will update the yyereno member and/or the corresponding configuration.

Implements ACE_Parse_Node.

Definition at line 178 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug(), LM_DEBUG, and ACE_Service_Gestalt::suspend().

00179 {
00180   ACE_TRACE ("ACE_Suspend_Node::apply");
00182   if (config->suspend (this->name ()) == -1)
00183     ++yyerrno;
00185 #ifndef ACE_NLOGGING
00186   if (ACE::debug ())
00187     ACE_DEBUG ((LM_DEBUG,
00188                 ACE_LIB_TEXT ("did suspend on %s, error = %d\n"),
00189                 this->name (),
00190                 yyerrno));
00191 #endif /* ACE_NLOGGING */
00192 }

void ACE_Suspend_Node::dump void   )  const

Dump the state of an object.

Reimplemented from ACE_Parse_Node.

Definition at line 140 of file Parse_Node.cpp.

References ACE_TRACE.

00141 {
00142 #if defined (ACE_HAS_DUMP)
00143   ACE_TRACE ("ACE_Suspend_Node::dump");
00144 #endif /* ACE_HAS_DUMP */
00145 }

ACE_Suspend_Node& ACE_Suspend_Node::operator= const ACE_Suspend_Node  )  [private]

Member Data Documentation


Declare the dynamic allocation hooks.

Reimplemented from ACE_Parse_Node.

Definition at line 98 of file Parse_Node.h.

The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:30:32 2006 for ACE by doxygen 1.3.6