TAO_CosNotification  2.0.8
Public Member Functions | Private Attributes
TAO_Notify::XML_Topology_Factory Class Reference

Create XML topology savers and loaders. More...

#include <XML_Topology_Factory.h>

Inheritance diagram for TAO_Notify::XML_Topology_Factory:
Inheritance graph
[legend]
Collaboration diagram for TAO_Notify::XML_Topology_Factory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XML_Topology_Factory ()
 The constructor.
virtual ~XML_Topology_Factory ()
virtual Topology_Savercreate_saver ()
virtual Topology_Loadercreate_loader ()
virtual int init (int argc, ACE_TCHAR *argv[])
virtual int fini ()

Private Attributes

ACE_TString save_base_path_
ACE_TString load_base_path_
size_t backup_count_
bool timestamp_

Detailed Description

Create XML topology savers and loaders.

Loaded by a svc.conf line like: dynamic Topology_Factory Service_Object* TAO_CosNotificationd:_make_XML_Topology_Factory() "[arguments]" where arguments are: -base_path Base path (directory and filename) for both saving and loading. .xml will be appended to the base path Default is ./Notification_Service_Topology -save_base_path Base path for saving. -load_base_path Base path for loading. -file_count How many backup copies to keep. Default is 1 -no_timestamp Disable timestamping (makes files diffable) Note: you can set both saving and storing to the same file using -base_path Or you can set them independently using -save_base_path and -load_base_path


Constructor & Destructor Documentation

TAO_Notify::XML_Topology_Factory::XML_Topology_Factory ( )

The constructor.

TAO_Notify::XML_Topology_Factory::~XML_Topology_Factory ( ) [virtual]

Member Function Documentation

Topology_Loader * TAO_Notify::XML_Topology_Factory::create_loader ( ) [virtual]

Create a Loader

Returns:
a pointer to a Topology_Loader which must be deleted by the caller.

Implements TAO_Notify::Topology_Factory.

Topology_Saver * TAO_Notify::XML_Topology_Factory::create_saver ( ) [virtual]

Create a Saver.

Returns:
a pointer to a Topology_Saver which must be deleted by the caller.

Implements TAO_Notify::Topology_Factory.

int TAO_Notify::XML_Topology_Factory::fini ( void  ) [virtual]

Reimplemented from ACE_Shared_Object.

int TAO_Notify::XML_Topology_Factory::init ( int  argc,
ACE_TCHAR argv[] 
) [virtual]

Reimplemented from ACE_Shared_Object.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines