TAO_CosNotification  2.3.2
Public Member Functions | Private Attributes | List of all members
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

Public Member Functions

 XML_Topology_Factory ()
 The constructor. More...
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)
- Public Member Functions inherited from ACE_Event_Handler
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_Interfacereactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
- Public Member Functions inherited from ACE_Shared_Object
 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_

Additional Inherited Members

- Public Types inherited from ACE_Event_Handler
typedef long Reference_Count
- Static Public Member Functions inherited from ACE_Event_Handler
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
- Public Attributes inherited from ACE_Event_Handler
- Protected Types inherited from ACE_Event_Handler
typedef ACE_Atomic_Op< ACE_SYNCH_MUTEX, Reference_CountAtomic_Reference_Count
- Protected Member Functions inherited from ACE_Event_Handler
 ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY)
- Protected Attributes inherited from ACE_Event_Handler
Atomic_Reference_Count reference_count_

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 ( )

Member Function Documentation

Topology_Loader * TAO_Notify::XML_Topology_Factory::create_loader ( )

Create a Loader

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 ( )

Create a Saver.

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  )

Reimplemented from ACE_Shared_Object.

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

Reimplemented from ACE_Shared_Object.

Member Data Documentation

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

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