ACE
6.3.3
|
Manages the options for the ACE Name_Server. More...
#include <Naming_Context.h>
Public Member Functions | |
ACE_Name_Options (void) | |
~ACE_Name_Options (void) | |
void | parse_args (int argc, ACE_TCHAR *argv[]) |
Parse arguments. More... | |
void | nameserver_port (int port) |
Set the port number. More... | |
int | nameserver_port (void) |
Get the port number. More... | |
ACE_Naming_Context::Context_Scope_Type | context (void) |
Get the context. More... | |
void | context (ACE_Naming_Context::Context_Scope_Type) |
Set the context. More... | |
void | nameserver_host (const ACE_TCHAR *host) |
Set the host name. More... | |
const ACE_TCHAR * | nameserver_host (void) |
Get the host name. More... | |
void | namespace_dir (const ACE_TCHAR *dir) |
Set name space directory. More... | |
const ACE_TCHAR * | namespace_dir (void) |
Get name space directory. More... | |
void | process_name (const ACE_TCHAR *dir) |
Set process name. More... | |
const ACE_TCHAR * | process_name (void) |
Get process name. More... | |
void | database (const ACE_TCHAR *) |
Set database name. More... | |
const ACE_TCHAR * | database (void) |
Get database name. More... | |
void | base_address (char *address) |
Set base address of the underlying allocator. More... | |
char * | base_address (void) |
Get base address of the underlying allocator. More... | |
bool | use_registry (void) const |
Get use of registry in naming. More... | |
void | use_registry (bool x) |
Set use of registry in naming. More... | |
bool | debug (void) |
Return debug status. More... | |
bool | verbose (void) |
Return verbose status. More... | |
Private Attributes | |
bool | debugging_ |
Extra debugging info. More... | |
bool | verbosity_ |
Extra verbose messages. More... | |
bool | use_registry_ |
Use Win32 Registry. More... | |
int | nameserver_port_ |
Port to connect to nameserver process. More... | |
const ACE_TCHAR * | nameserver_host_ |
Hostname of nameserver. More... | |
ACE_TCHAR * | namespace_dir_ |
Directory to hold name_bindings. More... | |
const ACE_TCHAR * | process_name_ |
Name of this process. More... | |
const ACE_TCHAR * | database_ |
Name of the database that stores the name/value/type bindings. More... | |
char * | base_address_ |
Base address of the underlying allocator. More... | |
ACE_Naming_Context::Context_Scope_Type | context_ |
The context in which the naming database will be created. More... | |
Manages the options for the ACE Name_Server.
ACE_Name_Options::ACE_Name_Options | ( | void | ) |
ACE_Name_Options::~ACE_Name_Options | ( | void | ) |
void ACE_Name_Options::base_address | ( | char * | address | ) |
Set base address of the underlying allocator.
char * ACE_Name_Options::base_address | ( | void | ) |
Get base address of the underlying allocator.
ACE_Naming_Context::Context_Scope_Type ACE_Name_Options::context | ( | void | ) |
Get the context.
void ACE_Name_Options::context | ( | ACE_Naming_Context::Context_Scope_Type | context | ) |
Set the context.
void ACE_Name_Options::database | ( | const ACE_TCHAR * | db | ) |
Set database name.
const ACE_TCHAR * ACE_Name_Options::database | ( | void | ) |
Get database name.
|
inline |
Return debug status.
void ACE_Name_Options::nameserver_host | ( | const ACE_TCHAR * | host | ) |
Set the host name.
const ACE_TCHAR * ACE_Name_Options::nameserver_host | ( | void | ) |
Get the host name.
void ACE_Name_Options::nameserver_port | ( | int | port | ) |
Set the port number.
int ACE_Name_Options::nameserver_port | ( | void | ) |
Get the port number.
void ACE_Name_Options::namespace_dir | ( | const ACE_TCHAR * | dir | ) |
Set name space directory.
|
inline |
Get name space directory.
void ACE_Name_Options::parse_args | ( | int | argc, |
ACE_TCHAR * | argv[] | ||
) |
Parse arguments.
void ACE_Name_Options::process_name | ( | const ACE_TCHAR * | dir | ) |
Set process name.
|
inline |
Get process name.
|
inline |
Get use of registry in naming.
|
inline |
Set use of registry in naming.
|
inline |
Return verbose status.
|
private |
Base address of the underlying allocator.
|
private |
The context in which the naming database will be created.
|
private |
Name of the database that stores the name/value/type bindings.
|
private |
Extra debugging info.
|
private |
Hostname of nameserver.
|
private |
Port to connect to nameserver process.
|
private |
Directory to hold name_bindings.
|
private |
Name of this process.
|
private |
Use Win32 Registry.
|
private |
Extra verbose messages.