LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::Server::Globals::ExitHandler Class Reference

Exits from the event loop upon receiving a UNIX signal. More...

Inheritance diagram for LogCabin::Server::Globals::ExitHandler:
LogCabin::Event::Signal LogCabin::Event::File

List of all members.

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::LoopeventLoop

Detailed Description

Exits from the event loop upon receiving a UNIX signal.

Definition at line 56 of file Globals.h.


Constructor & Destructor Documentation

LogCabin::Server::Globals::ExitHandler::ExitHandler ( Event::Loop eventLoop,
int  signalNumber 
)

Definition at line 35 of file Globals.cc.


Member Function Documentation

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.


Member Data Documentation

Definition at line 60 of file Globals.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines