|
Public Types |
enum | SERVICE_COMMAND { SC_NONE,
SC_INSTALL,
SC_REMOVE
} |
enum | RepoMode { REPO_NONE,
REPO_XML_FILE,
REPO_HEAP_FILE,
REPO_REGISTRY
} |
Public Member Functions |
| Options () |
int | init (int argc, char *argv[]) |
| Parse the command-line arguments and initialize the options.
|
int | init_from_registry () |
| This version should only be used when run as an nt service.
|
bool | service (void) const |
| Service Mode.
|
unsigned int | debug (void) const |
| Debug level for the Implementation Repository.
|
const ACE_TString & | ior_filename (void) const |
| Returns the file where the IOR should be stored.
|
bool | multicast (void) const |
| Will we listen for multicast location requests?
|
SERVICE_COMMAND | service_command (void) const |
| The nt service command to run (install/remove).
|
int | save_registry_options () |
const char * | cmdline (void) const |
const ACE_TString & | persist_file_name (void) const |
bool | readonly (void) const |
| Do we allow modifications to the servers?
|
RepoMode | repository_mode (void) const |
bool | repository_erase (void) const |
| Do we wish to clear out the repository.
|
ACE_Time_Value | startup_timeout (void) const |
| Returns the timeout value for program starting.
|
ACE_Time_Value | ping_interval (void) const |
Private Member Functions |
int | parse_args (int &argc, char *argv[]) |
| Parses and pulls out arguments for the ImR.
|
void | print_usage (void) const |
| Print the usage information.
|
int | run_service_command (const ACE_TString &cmdline) |
| Run a service command.
|
int | load_registry_options () |
Private Attributes |
RepoMode | repo_mode_ |
bool | erase_repo_ |
unsigned int | debug_ |
| Debug level.
|
ACE_TString | ior_output_file_ |
| File where the IOR of the server object is stored.
|
bool | multicast_ |
| Will we listen for multicast location requests?
|
bool | service_ |
| Are we running as a service?
|
ACE_Time_Value | ping_interval_ |
| The amount of time between successive "are you started yet?" pings.
|
ACE_Time_Value | startup_timeout_ |
| The amount of time to wait for a server to response after starting it.
|
bool | readonly_ |
| Can the server_repository be modified?
|
SERVICE_COMMAND | service_command_ |
| SC_NONE, SC_INSTALL, SC_REMOVE, ...
|
ACE_CString | cmdline_ |
| Our extra command line arguments.
|
ACE_TString | persist_file_name_ |
| The persistent XML file name.
|
This is where all the settings for TAO's Implementation Repository are stored.