|
Namespaces |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::Platform |
Typedefs |
typedef void(* | OW_NAMESPACE::Platform::sighandler_t )(int) |
typedef void(* | OW_NAMESPACE::Platform::full_sighandler_t )(int, siginfo_t *, void *) |
Functions |
| OW_NAMESPACE::OW_DEFINE_EXCEPTION_WITH_ID (Daemon) |
static void | OW_NAMESPACE::Platform::theSigHandler (int sig, siginfo_t *info, void *context) |
void | OW_NAMESPACE::Platform::handleSignal (int sig) |
void | OW_NAMESPACE::Platform::setupSigHandler (bool dbgFlg) |
void | OW_NAMESPACE::Platform::daemonInit (int argc, char *argv[]) |
void | OW_NAMESPACE::Platform::daemonize (bool dbgFlg, const String &daemonName, const ServiceEnvironmentIFCRef &env) |
| - Exceptions:
-
|
int | OW_NAMESPACE::Platform::daemonShutdown (const String &daemonName, const ServiceEnvironmentIFCRef &env) |
void | OW_NAMESPACE::Platform::rerunDaemon () |
| Re-run the daemon.
|
void | OW_NAMESPACE::Platform::restartDaemon () |
| Restart the daemon.
|
void | OW_NAMESPACE::Platform::handleSignalAux (int sig, sighandler_t handler) |
void | OW_NAMESPACE::Platform::handleSignalAux (int sig, full_sighandler_t handler) |
void | OW_NAMESPACE::Platform::handleSignal (int sig) |
void | OW_NAMESPACE::Platform::ignoreSignal (int sig) |
static void | OW_NAMESPACE::Platform::fatalSigHandler (int sig, siginfo_t *info, void *context) |
void | OW_NAMESPACE::Platform::setupSigHandler (bool dbgFlg) |
void | OW_NAMESPACE::Platform::installFatalSignalHandlers () |
void | OW_NAMESPACE::Platform::removeFatalSignalHandlers () |
void | OW_NAMESPACE::Platform::initDaemonizePipe () |
void | OW_NAMESPACE::Platform::sendDaemonizeStatus (int status) |
void | OW_NAMESPACE::Platform::initSig () |
void | OW_NAMESPACE::Platform::pushSig (const Signal::SignalInformation &sig) |
int | OW_NAMESPACE::Platform::popSig (Signal::SignalInformation &sig) |
void | OW_NAMESPACE::Platform::shutdownSig () |
SelectableIFCRef | OW_NAMESPACE::Platform::getSigSelectable () |
Variables |
const String | OW_NAMESPACE::Platform::COMPONENT_NAME ("ow.owcimomd") |
const int | OW_NAMESPACE::Platform::DAEMONIZE_PIPE_TIMEOUT = 25 |
UnnamedPipeRef | OW_NAMESPACE::Platform::plat_upipe |
UnnamedPipeRef | OW_NAMESPACE::Platform::daemonize_upipe |
char ** | OW_NAMESPACE::Platform::g_argv = 0 |