LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier Struct Reference

Exits an event loop when a timer event occurs. More...

Inheritance diagram for LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier:
LogCabin::Event::Timer LogCabin::Event::File

List of all members.

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

Detailed Description

Exits an event loop when a timer event occurs.

Helper for ClientSession constructor.

Definition at line 58 of file ClientSession.cc.


Constructor & Destructor Documentation

LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier::TimerNotifier ( Event::Loop eventLoop) [inline, explicit]

Definition at line 59 of file ClientSession.cc.


Member Function Documentation

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.


Member Data Documentation

Event::Loop& LogCabin::RPC::anonymous_namespace{ClientSession.cc}::TimerNotifier::eventLoop

Definition at line 67 of file ClientSession.cc.


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