LogCabin
|
Exits from the event loop upon receiving a UNIX signal. More...
Public Member Functions | |
ExitHandler (Event::Loop &eventLoop, int signalNumber) | |
void | handleSignalEvent () |
This method is overridden by a subclass and invoked when the signal is received. | |
Public Attributes | |
Event::Loop & | eventLoop |
LogCabin::Server::Globals::ExitHandler::ExitHandler | ( | Event::Loop & | eventLoop, |
int | signalNumber | ||
) |
Definition at line 35 of file Globals.cc.
void LogCabin::Server::Globals::ExitHandler::handleSignalEvent | ( | ) | [virtual] |
This method is overridden by a subclass and invoked when the signal is received.
This method will be invoked by the main event loop on whatever thread is running the Event::Loop.
Implements LogCabin::Event::Signal.
Definition at line 44 of file Globals.cc.