summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
index 0b30fab4ffe..bc8df570fcd 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
@@ -69,7 +69,8 @@ public:
int resolve_for_existing_naming_service = 1,
const ACE_TCHAR *persistence_location = 0,
void *base_addr = TAO_NAMING_BASE_ADDR,
- int enable_multicast = 1);
+ int enable_multicast = 1,
+ int use_storable_context = 0);
// Constructor. Attempts to find an existing Naming Service if
// <resolve_for_existing_naming_service> is set to true. If it is
// false, or no Naming Service was found during a <timeout> period,
@@ -90,7 +91,8 @@ public:
int resolve_for_existing_naming_service = 1,
const ACE_TCHAR *persistence_location = 0,
void *base_addr = TAO_NAMING_BASE_ADDR,
- int enable_multicast = 1);
+ int enable_multicast = 1,
+ int use_storable_context = 0);
// Initializer. Attempts to find an existing Naming Service if
// <resolve_for_existing_naming_service> is set to true. If it is
// false, or no Naming Service was found during a <timeout> period,
@@ -128,7 +130,8 @@ protected:
const ACE_TCHAR *persistence_location,
void *base_addr,
size_t context_size,
- int enable_multicast);
+ int enable_multicast,
+ int use_storable_context);
// Helper method: create Naming Service locally.
// Make the root context of size
// <context_size>, register it under the <root_poa>, and make the Naming
@@ -191,6 +194,8 @@ protected:
int multicast_;
// If not zero multicast is enabled.
+ int use_storable_context_;
+ // If not zero use flat file persistence
};
class TAO_Naming_Export TAO_Naming_Client