
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| The main process entry point. | |
| void | OmniEvents_Orb_shutdown (int signum) |
| Signal handler, sets Orb::_shutdownRequested. | |
| void | OmniEvents_Orb_bumpTraceLevel (int signum) |
| Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45. | |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
The main process entry point.
Also serves as the 'ServiceMain' entry point on Windows.
Definition at line 66 of file main.cc.
References OmniEvents::EventChannel_i::activate(), appendCriterion(), appendCriterionStr(), bindName2Object(), connect_cond(), Consumer_i::consume(), OmniEvents::daemon, OmniEvents::Daemon::daemonize(), DB, OmniEvents::Daemon::foreground(), getChannel(), getopt(), HAVE_SIGNAL_H, OmniEvents::insertArgs(), OmniEvents::Orb::inst(), mutex, myShutdown(), NP_MINORSTRING, OmniEvents_Orb_bumpTraceLevel(), OmniEvents_Orb_shutdown(), optarg, optind, orb, OmniEvents::Daemon::pidfile(), OmniEvents::Daemon::runningOk(), SIGSET, str2name(), Supplier_i::supply(), OmniEvents::Daemon::tracefile(), OmniEvents::usage(), usage(), and OmniEvents::version().
Referenced by OmniEvents::Service::start().
| void OmniEvents_Orb_bumpTraceLevel | ( | int | signum | ) |
Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45.
Definition at line 317 of file main.cc.
References DB.
Referenced by OmniEvents::Service::ctrlHandler(), and main().
| void OmniEvents_Orb_shutdown | ( | int | signum | ) |
Signal handler, sets Orb::_shutdownRequested.
The parameter is ignored. This method may be used as a signal handler.
Definition at line 312 of file main.cc.
References OmniEvents::Orb::inst().
Referenced by OmniEvents::Service::ctrlHandler(), and main().
1.6.1