diff options
author | Phil Mesnier <mesnierp@ociweb.com> | 2017-03-27 07:33:51 -0500 |
---|---|---|
committer | Phil Mesnier <mesnierp@ociweb.com> | 2017-03-27 07:33:51 -0500 |
commit | 43491d665f8552b9457c876d6e6af8ab42430266 (patch) | |
tree | 320741dd8345f399c508d52560295cc4ac72d7aa /TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h | |
parent | 00b8e0b09187145be9535fa85cbab82877a61495 (diff) | |
download | ATCD-43491d665f8552b9457c876d6e6af8ab42430266.tar.gz |
Adding enhanced hot-standby feature to FT_Naming_Service based on code added to OCITAO 2.2a
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h b/TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h index 32696dff77f..c401f17dd7e 100644 --- a/TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h +++ b/TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h @@ -4,6 +4,7 @@ /** * @file FT_Storable_Naming_Context_Factory.h * + * * @author Kevin Stanley stanleyk@ociweb.com> */ //============================================================================= @@ -22,6 +23,8 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL +class TAO_FT_Naming_Replication_Manager; + /** * @class TAO_Naming_Context_Factory * @@ -40,12 +43,15 @@ public: /// Constructor. TAO_FT_Storable_Naming_Context_Factory ( - size_t hash_table_size = ACE_DEFAULT_MAP_SIZE); + size_t hash_table_size = ACE_DEFAULT_MAP_SIZE, + TAO_FT_Naming_Replication_Manager * rep = 0); /// Destructor. Does not deallocate the hash map: if an instance of /// this class goes out of scope, its hash_map remains in persistent storage. virtual ~TAO_FT_Storable_Naming_Context_Factory (void); + TAO_FT_Naming_Replication_Manager * replicator (void); + /// Factory method for creating an implementation object for naming contexts. /// If an existing naming context implementation is being rebuilt, /// the map and counter parameters should be provided to the underlying @@ -56,6 +62,7 @@ public: const char *poa_id, TAO::Storable_Factory *factory); + TAO_FT_Naming_Replication_Manager *replicator_; }; TAO_END_VERSIONED_NAMESPACE_DECL |