TAO_CosNotification
2.0.8
|
Create XML topology savers and loaders. More...
#include <XML_Topology_Factory.h>
Public Member Functions | |
XML_Topology_Factory () | |
The constructor. | |
virtual | ~XML_Topology_Factory () |
virtual Topology_Saver * | create_saver () |
virtual Topology_Loader * | create_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_ |
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
TAO_Notify::XML_Topology_Factory::XML_Topology_Factory | ( | ) |
The constructor.
TAO_Notify::XML_Topology_Factory::~XML_Topology_Factory | ( | ) | [virtual] |
Topology_Loader * TAO_Notify::XML_Topology_Factory::create_loader | ( | ) | [virtual] |
Create a Loader
Implements TAO_Notify::Topology_Factory.
Topology_Saver * TAO_Notify::XML_Topology_Factory::create_saver | ( | ) | [virtual] |
Create a Saver.
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.
size_t TAO_Notify::XML_Topology_Factory::backup_count_ [private] |
bool TAO_Notify::XML_Topology_Factory::timestamp_ [private] |