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

Re-opens the log file upon receiving a UNIX signal. More...

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

List of all members.

Public Member Functions

 LogRotateHandler (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

Re-opens the log file upon receiving a UNIX signal.

Definition at line 66 of file Globals.h.


Constructor & Destructor Documentation

Definition at line 50 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 59 of file Globals.cc.


Member Data Documentation

Definition at line 70 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