ACE  6.1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
ACE_Name_Options Class Reference

Manages the options for the ACE Name_Server. More...

#include <Naming_Context.h>

List of all members.

Public Member Functions

 ACE_Name_Options (void)
 ~ACE_Name_Options (void)
void parse_args (int argc, ACE_TCHAR *argv[])
 Parse arguments.
void nameserver_port (int port)
 Set the port number.
int nameserver_port (void)
 Get the port number.
ACE_Naming_Context::Context_Scope_Type context (void)
 Get the context.
void context (ACE_Naming_Context::Context_Scope_Type)
 Set the context.
void nameserver_host (const ACE_TCHAR *host)
 Set the host name.
const ACE_TCHARnameserver_host (void)
 Get the host name.
void namespace_dir (const ACE_TCHAR *dir)
 Set name space directory.
const ACE_TCHARnamespace_dir (void)
 Get name space directory.
void process_name (const ACE_TCHAR *dir)
 Set process name.
const ACE_TCHARprocess_name (void)
 Get process name.
void database (const ACE_TCHAR *)
 Set database name.
const ACE_TCHARdatabase (void)
 Get database name.
void base_address (char *address)
 Set base address of the underlying allocator.
char * base_address (void)
 Get base address of the underlying allocator.
bool use_registry (void) const
 Get use of registry in naming.
void use_registry (bool x)
 Set use of registry in naming.
bool debug (void)
 Return debug status.
bool verbose (void)
 Return verbose status.

Private Attributes

bool debugging_
 Extra debugging info.
bool verbosity_
 Extra verbose messages.
bool use_registry_
 Use Win32 Registry.
int nameserver_port_
 Port to connect to nameserver process.
const ACE_TCHARnameserver_host_
 Hostname of nameserver.
ACE_TCHARnamespace_dir_
 Directory to hold name_bindings.
const ACE_TCHARprocess_name_
 Name of this process.
const ACE_TCHARdatabase_
 Name of the database that stores the name/value/type bindings.
char * base_address_
 Base address of the underlying allocator.
ACE_Naming_Context::Context_Scope_Type context_
 The context in which the naming database will be created.

Detailed Description

Manages the options for the ACE Name_Server.


Constructor & Destructor Documentation


Member Function Documentation

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.

Get the context.

Set the context.

void ACE_Name_Options::database ( const ACE_TCHAR db)

Set database name.

Get database name.

bool ACE_Name_Options::debug ( void  ) [inline]

Return debug status.

Set the host name.

Get the host name.

Set the port number.

Get the port number.

Set name space directory.

const ACE_TCHAR * ACE_Name_Options::namespace_dir ( void  ) [inline]

Get name space directory.

void ACE_Name_Options::parse_args ( int  argc,
ACE_TCHAR argv[] 
)

Parse arguments.

Set process name.

const ACE_TCHAR * ACE_Name_Options::process_name ( void  ) [inline]

Get process name.

bool ACE_Name_Options::use_registry ( void  ) const [inline]

Get use of registry in naming.

void ACE_Name_Options::use_registry ( bool  x) [inline]

Set use of registry in naming.

bool ACE_Name_Options::verbose ( void  ) [inline]

Return verbose status.


Member Data Documentation

Base address of the underlying allocator.

The context in which the naming database will be created.

Name of the database that stores the name/value/type bindings.

Extra debugging info.

Hostname of nameserver.

Port to connect to nameserver process.

Directory to hold name_bindings.

Name of this process.

Use Win32 Registry.

Extra verbose messages.


The documentation for this class was generated from the following files: