HydraExpress™ C++ API Reference Guide

Product Documentation:
   HydraExpress C++
Documentation Home
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members | Public Member Functions
rwsf::NamedObjectCleanup Class Reference

Deletes the global naming context. More...

#include <rwsf/agent_methods/NamedObjectCleanup.h>

Inheritance diagram for rwsf::NamedObjectCleanup:
rwsf::AgentMethodImp

Public Member Functions

virtual void init (const rwsf::Config &config, const rwsf::AgentContext &context)
 
virtual void invoke ()
 
- Public Member Functions inherited from rwsf::AgentMethodImp
 AgentMethodImp ()
 

Additional Inherited Members

- Protected Member Functions inherited from rwsf::BodyBase
 BodyBase (void)
 
 BodyBase (const BodyBase &second)
 
virtual ~BodyBase (void)
 
BodyBase & operator= (const BodyBase &second)
 

Detailed Description

See Also
NamingContext for more information.

This class deletes the Agent's global NamingContext instance.

The NamedObjectCleanup is configured in the main Agent configuration file, rwagent.xml, located in the <installdir>\conf directory.

Member Function Documentation

virtual void rwsf::NamedObjectCleanup::init ( const rwsf::Config config,
const rwsf::AgentContext manager 
)
virtual

Initializes the method with configuration options specified in the configuration file rwagent.xml, located in the <installdir>\conf directory.

  • The config parameter holds the configuration properties defined in the config file.
  • The agent parameter is the rwsf::AgentContext, which contains the AgentMethod.

Implements rwsf::AgentMethodImp.

virtual void rwsf::NamedObjectCleanup::invoke ( )
virtual

Defines the main functionality of the AgentMethod. Anyone extending from this class must implement the invoke() method to define the method's behavior.

Implements rwsf::AgentMethodImp.

Copyright © 2015 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is registered trademark of Rogue Wave Software, Inc. in the United States and other countries, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.