ACE_Local_Name_Space<, ACE_LOCK > Class Template ReferenceMaintaining accesses Local Name Server Database. Allows to add NameBindings, change them, remove them and resolve NameBindings. More...
Inheritance diagram for ACE_Local_Name_Space<, ACE_LOCK >:
![]()
Collaboration diagram for ACE_Local_Name_Space<, ACE_LOCK >:
![]()
Detailed Descriptiontemplate<ACE_MEM_POOL_1, class ACE_LOCK>
Maintaining accesses Local Name Server Database. Allows to add NameBindings, change them, remove them and resolve NameBindings.
|
typedef ACE_Allocator_Adapter<ACE_Malloc <ACE_MEM_POOL_2, ACE_LOCK> > ACE_Local_Name_Space<, ACE_LOCK >::ALLOCATOR |
ACE_Local_Name_Space<, ACE_LOCK >::ACE_Local_Name_Space | ( | void | ) | [inline] |
"Do-nothing" constructor.
ACE_Local_Name_Space<, ACE_LOCK >::ACE_Local_Name_Space | ( | ACE_Naming_Context::Context_Scope_Type | scope_in, | |
ACE_Name_Options * | name_options | |||
) | [inline] |
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.
ACE_Local_Name_Space<, ACE_LOCK >::~ACE_Local_Name_Space | ( | void | ) | [inline] |
Destructor, do some cleanup :TBD: last dtor should "compress" file
int ACE_Local_Name_Space<, ACE_LOCK >::open | ( | ACE_Naming_Context::Context_Scope_Type | scope_in | ) | [inline] |
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.
int ACE_Local_Name_Space<, ACE_LOCK >::bind | ( | const ACE_NS_WString & | name, | |
const ACE_NS_WString & | value, | |||
const char * | type = "" | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::rebind | ( | const ACE_NS_WString & | name, | |
const ACE_NS_WString & | value, | |||
const char * | type = "" | |||
) | [inline, virtual] |
Overwrite the value or type of an existing name in a ACE_Local_Name_Space or bind a new name to the context, if it didn't exist yet. (Wide charcter strings interface).
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::unbind | ( | const ACE_NS_WString & | name | ) | [inline, virtual] |
Delete a name from a ACE_Local_Name_Space (Wide charcter strings Interface).
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::unbind_i | ( | const ACE_NS_WString & | name | ) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::resolve | ( | const ACE_NS_WString & | name, | |
ACE_NS_WString & | value, | |||
char *& | type | |||
) | [inline, virtual] |
Get value and type of a given name binding (Wide chars). The caller is responsible for deleting type!
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::resolve_i | ( | const ACE_NS_WString & | name, | |
ACE_NS_WString & | value, | |||
char *& | type | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::list_names | ( | ACE_WSTRING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string.
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::list_names_i | ( | ACE_WSTRING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::list_values | ( | ACE_WSTRING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string.
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::list_values_i | ( | ACE_WSTRING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::list_types | ( | ACE_WSTRING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string.
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::list_types_i | ( | ACE_WSTRING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::list_name_entries | ( | ACE_BINDING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
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.
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::list_name_entries_i | ( | ACE_BINDING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::list_value_entries | ( | ACE_BINDING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
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.
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::list_value_entries_i | ( | ACE_BINDING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::list_type_entries | ( | ACE_BINDING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
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.
Implements ACE_Name_Space.
int ACE_Local_Name_Space<, ACE_LOCK >::list_type_entries_i | ( | ACE_BINDING_SET & | set, | |
const ACE_NS_WString & | pattern | |||
) | [inline, virtual] |
void ACE_Local_Name_Space<, ACE_LOCK >::dump | ( | void | ) | const [inline, virtual] |
void ACE_Local_Name_Space<, ACE_LOCK >::dump_i | ( | void | ) | const [inline, virtual] |
int ACE_Local_Name_Space<, ACE_LOCK >::remap | ( | EXCEPTION_POINTERS * | ep | ) | [inline, private] |
Remap the backing store.
int ACE_Local_Name_Space<, ACE_LOCK >::shared_bind | ( | const ACE_NS_WString & | name, | |
const ACE_NS_WString & | value, | |||
const char * | type, | |||
int | rebind | |||
) | [inline, private] |
int ACE_Local_Name_Space<, ACE_LOCK >::shared_bind_i | ( | const ACE_NS_WString & | name, | |
const ACE_NS_WString & | value, | |||
const char * | type, | |||
int | rebind | |||
) | [inline, private] |
int ACE_Local_Name_Space<, ACE_LOCK >::create_manager | ( | void | ) | [inline, private] |
Allocate the appropriate type of map manager that stores the key/value binding.
int ACE_Local_Name_Space<, ACE_LOCK >::create_manager_i | ( | void | ) | [inline, private] |
ALLOCATOR* ACE_Local_Name_Space<, ACE_LOCK >::allocator_ [private] |
Pointer to the allocator.
ACE_Name_Space_Map<ALLOCATOR>* ACE_Local_Name_Space<, ACE_LOCK >::name_space_map_ [private] |
Pointer to the allocated map manager.
ACE_Naming_Context::Context_Scope_Type ACE_Local_Name_Space<, ACE_LOCK >::ns_scope_ [private] |
Scope of this naming context (e.g., PROC_LOCAL, NODE_LOCAL, or NET_LOCAL).
ACE_Name_Options* ACE_Local_Name_Space<, ACE_LOCK >::name_options_ [private] |
Keep track of the options such as database name etc.
ACE_TCHAR ACE_Local_Name_Space<, ACE_LOCK >::context_file_[MAXPATHLEN+MAXNAMELEN] [private] |
Name of the file used as the backing store.
ACE_LOCK* ACE_Local_Name_Space<, ACE_LOCK >::lock_ [private] |
Synchronization variable.