OmniEvents
|
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
The main process entry point. More... | |
void | OmniEvents_Orb_shutdown (int signum) |
Signal handler, sets Orb::_shutdownRequested. More... | |
void | OmniEvents_Orb_bumpTraceLevel (int signum) |
Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45. More... | |
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::Orb::_omniINSPOA, OmniEvents::Orb::_orb, OmniEvents::Orb::_RootPOA, OmniEvents::EventChannel_i::activate(), OmniEvents::omniEventsLog::activeFilename(), appendCriterion(), appendCriterionStr(), OmniEvents::PersistNode::attrLong(), OmniEvents::PersistNode::attrString(), OmniEvents::omniEventsLog::backupFilename(), bindName2Object(), OmniEvents::omniEventsLog::bootstrap(), OmniEvents::PersistNode::child(), connect_cond(), Consumer_i::consume(), OmniEvents::daemon, OmniEvents::Daemon::daemonize(), DB, OmniEvents::omniEventsLog::factory(), OmniEvents::omniEventsLog::fileExists(), OmniEvents::Daemon::foreground(), getChannel(), getopt(), HAVE_SIGNAL_H, OmniEvents::omniEventsLog::incarnateFactory(), OmniEvents::insertArgs(), OmniEvents::Orb::inst(), mutex, myShutdown(), NP_MINORSTRING, OmniEvents_Orb_bumpTraceLevel(), OmniEvents_Orb_shutdown(), optarg, optind, orb, OmniEvents::omniEventsLog::parse(), OmniEvents::Daemon::pidfile(), OmniEvents::Orb::resolveInitialReferences(), OmniEvents::Orb::run(), OmniEvents::Daemon::runningOk(), OmniEvents::omniEventsLog::runWorker(), 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(), and OmniEvents::Orb::shutdown().
Referenced by OmniEvents::Service::ctrlHandler(), main(), and OmniEvents::Orb::Orb().