summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h32
1 files changed, 5 insertions, 27 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h b/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
index b37759e94cf..23602bc0459 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
@@ -37,9 +37,6 @@ class TAO_ORBSVCS_Export TAO_Bindings_Map
public:
- virtual ~TAO_Bindings_Map (void);
- // Destructor.
-
virtual size_t current_size (void) = 0;
// Return current number of entries (name bindings) in the
// underlying hash map.
@@ -98,26 +95,13 @@ public:
const char *poa_id);
// Constructor.
- void interface (TAO_Naming_Context *i);
- // Set our <interface_> pointer.
-
virtual ~TAO_Hash_Naming_Context (void);
// Destructor.
- // = Accessors.
-
- TAO_Naming_Context *interface (void);
- // Get the pointer to our <interface>.
+ // = CosNaming::NamingContext idl interface methods.
int root (void);
- // Returns true if this Naming Context is a root Naming Context for
- // the server, and false otherwise.
-
- int destroyed (void);
- // Returns true if this context had <destroy> operation invoked on
- // it, and false otherwise.
-
- // = CosNaming::NamingContext idl interface methods.
+ //
virtual void bind (const CosNaming::Name &n,
CORBA::Object_ptr obj,
@@ -200,19 +184,13 @@ protected:
// bindings. <context_> is initialized with a concrete data
// structure by subclasses, which know which data structure to use.
- TAO_Naming_Context *interface_;
- // Pointer to the <interface> object for which we serve as a
- // <concrete implementation>, i.e., the object that delegates to us
- // all client CosNaming::NamingContext CORBA calls.
- // We need this pointer for reference counting.
-
ACE_SYNCH_RECURSIVE_MUTEX lock_;
// Lock used to serialize access to the underlying data structure.
int destroyed_;
- // Flag indicating whether this Naming Context is no longer valid.
- // This flag is necessary because immediate destruction
- // might not be possible if there are pending requests on this servant
+ // Flag indicating whether this Naming Context has had <destroy> method
+ // invoked on it. This is necessary because immediate destruction
+ // may not be possible if there are pending requests on this servant
// in the POA.
PortableServer::POA_var poa_;