TAO_CosNotification  2.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
Collaboration diagram for TAO_Notify::XML_Topology_Factory:
Collaboration graph

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 ()
- Public Member Functions inherited from TAO_Notify::Topology_Factory
virtual ~Topology_Factory ()
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
virtual ~ACE_Service_Object (void)
virtual int suspend (void)
virtual int resume (void)
virtual ~ACE_Event_Handler (void)
virtual ACE_HANDLE get_handle (void) const
virtual void set_handle (ACE_HANDLE)
virtual int priority (void) const
virtual void priority (int priority)
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
virtual int handle_exit (ACE_Process *)
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
virtual int resume_handler (void)
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual void reactor (ACE_Reactor *reactor)
virtual ACE_Reactorreactor (void) const
virtual
ACE_Reactor_Timer_Interface
reactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
 ACE_Shared_Object (void)
virtual ~ACE_Shared_Object (void)
virtual int info (ACE_TCHAR **info_string, size_t length=0) const

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_Service_Object.

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

Reimplemented from ACE_Service_Object.


Member Data Documentation

size_t TAO_Notify::XML_Topology_Factory::backup_count_
private
ACE_TString TAO_Notify::XML_Topology_Factory::load_base_path_
private
ACE_TString TAO_Notify::XML_Topology_Factory::save_base_path_
private
bool TAO_Notify::XML_Topology_Factory::timestamp_
private

The documentation for this class was generated from the following files: