ACE_Naming_Context Class ReferenceMaintaining accesses Name Server Databases. Allows to add NameBindings, change them, remove them and resolve NameBindings. More...
Inheritance diagram for ACE_Naming_Context:
![]()
Collaboration diagram for ACE_Naming_Context:
![]()
Detailed DescriptionMaintaining accesses Name Server Databases. Allows to add NameBindings, change them, remove them and resolve NameBindings.Manages a Naming Service . That represents a persistent string to string mapping for different scopes. The scope of a ACE_Naming_Context may be either local for the calling process (Note : A process is hereby not identified by it's pid, but by it's argv[0]. So different processes (in UNIX syntax) may access the same NameBindings), global for all processes running on one host or global for all processes on the net (that know the address of the net name server socket). Strings may be plain character strings or Wide character strings. A Name Binding consists of a name string (that's the key), a value string and an optional type string (no wide chars). Member Enumeration Documentation
Constructor & Destructor Documentation
"Do-nothing" constructor.
Specifies the scope of this namespace, opens and memory-maps the associated file (if accessible) or contacts the dedicated name server process for NET_LOCAL namespace. Note that light specifies whether or not we want to use ACE_Lite_MMap_Memory_Pool. By default we use ACE_MMap_Memory_Pool.
destructor, do some cleanup :TBD: last dtor should "compress" file
Member Function Documentation
Specifies the scope of this namespace, opens and memory-maps the associated file (if accessible) or contacts the dedicated name server process for NET_LOCAL namespace. Note that light specifies whether or not we want to use ACE_Lite_MMap_Memory_Pool. By default we use ACE_MMap_Memory_Pool.
Deletes the instance of Name Space. Must be called before switching name spaces.
Release all resources. Gets called by destructor and fini.
Initialize name options and naming context when dynamically linked. Reimplemented from ACE_Shared_Object.
Returns the ACE_Name_Options associated with the Naming_Context.
Bind a new name to a naming context (Wide character strings).
Bind a new name to a naming context ( character strings).
Overwrite the value or type of an existing name in a ACE_Naming_Context or bind a new name to the context, if it didn't exist yet. (Wide charcter strings interface).
Overwrite the value or type of an existing name in a ACE_Naming_Context or bind a new name to the context, if it didn't exist yet. ( charcter strings interface)
Delete a name from a ACE_Naming_Context (Wide charcter strings Interface).
Delete a name from a ACE_Naming_Context (character strings interface).
Get value and type of a given name binding (Wide chars). The caller is responsible for deleting both value_out> and type_out!
Get value and type of a given name binding (Wide chars output). The caller is responsible for deleting both value_out and type_out!
Get value and type of a given name binding ( chars ). The caller is responsible for deleting both value_out and type_out!
Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string.
Get a set of names matching a specified pattern (chars). Matching means the names must begin with the pattern string.
Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string.
Get a set of values matching a specified pattern (chars). Matching means the values must begin with the pattern string.
Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string.
Get a set of types matching a specified pattern (chars). Matching means the types must begin with the pattern string.
Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string. Returns the complete binding associated each pattern match.
Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string. Returns the complete binding associated each pattern match.
Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string. Returns the complete binding associated each pattern match.
Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string. Returns the complete binding associated each pattern match.
Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string. Returns the complete binding associated each pattern match.
Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string. Returns the complete binding associated each pattern match.
Dump the state of the object.
1 if we're on the same local machine as the name server, else 0.
Member Data DocumentationKeep track of the options such as database name etc per Naming Context.
Name space (can be either local or remote) dynamically bound.
Holds the local hostname.
Holds name of net name server.
Holds port number of the net name server.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:15:55 2008 for ACE by ![]() |