26#define NEED_PACKAGE_INFO
41#ifdef HAVE_STD_IOSTREAM
49void usage(
int argc,
char **argv)
55 "just run it: "<<command<<
" [OPTIONS]\n"
56 "install service: "<<command<<
" install [OPTIONS]\n"
57 "uninstall service: "<<command<<
" uninstall\n"
58 "set service options: "<<command<<
" setoptions [OPTIONS]\n"
59 "get service options: "<<command<<
" getoptions\n"
63 "cold start syntax: "<<command<<
" [-pPORT] "
68 "warm start syntax: "<<command<<
" [OPTIONS]\n"
71 "COLD START OPTIONS:\n"
72 " -p PORT configure server port [11169]\n"
74 " -a ENDPOINT set alternate endPoint for failover\n"
80 " -P PIDFILE keep track of running instance in PIDFILE.\n"
82 " -N ID factory naming service id [\"EventChannelFactory\"]\n"
84 " -f Stay in the foreground.\n"
86 " -t FILE Send trace messages to FILE instead of syslog.\n"
87 " -v print the IOR of the new EventChannelFactory.\n"
88 " -V display version\n"
89 " -h display this help text\n"
92 "to specify the directory where the data files are kept.\n" << endl;
97void insertArgs(
int& argc,
char**& argv,
int idx,
int nargs)
99 char** newArgv =
new char*[argc+nargs];
101 for (i = 0; i < idx; i++) {
102 newArgv[i] = argv[i];
104 for (i = idx; i < argc; i++) {
105 newArgv[i+nargs] = argv[i];
#define OMNIEVENTS_LOG_DEFAULT_LOCATION
Define OMNIEVENTS_LOG_DEFAULT_LOCATION to specify the default location where the omniEvents server ex...
#define OMNIEVENTS_LOGDIR_ENV_VAR
Define OMNIEVENTS_LOGDIR_ENV_VAR to specify the environment variable that users may set to override t...
void insertArgs(int &argc, char **&argv, int idx, int nargs)
Utility function, used to manipulate argv when using omniORB3.
void usage(int argc, char **argv)