LogCabin
|
Exits an event loop when a timer event occurs. More...
Public Member Functions | |
TimerNotifier (Event::Loop &eventLoop) | |
void | handleTimerEvent () |
This method is overridden by a subclass and invoked when the timer expires. | |
Public Attributes | |
Event::Loop & | eventLoop |
Exits an event loop when a timer event occurs.
Helper for ClientSession constructor.
Definition at line 58 of file ClientSession.cc.
LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier::TimerNotifier | ( | Event::Loop & | eventLoop | ) | [inline, explicit] |
Definition at line 59 of file ClientSession.cc.
void LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier::handleTimerEvent | ( | ) | [inline, virtual] |
This method is overridden by a subclass and invoked when the timer expires.
This method will be invoked by the main event loop on whatever thread is running the Event::Loop.
Implements LogCabin::Event::Timer.
Definition at line 64 of file ClientSession.cc.
Event::Loop& LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier::eventLoop |
Definition at line 67 of file ClientSession.cc.