LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::RPC::ClientSession::Timer Class Reference

This is used to time out RPCs and sessions when the server is no longer responding. More...

Inheritance diagram for LogCabin::RPC::ClientSession::Timer:
LogCabin::Event::Timer LogCabin::Event::File

List of all members.

Public Member Functions

 Timer (ClientSession &session)
void handleTimerEvent ()
 This method is overridden by a subclass and invoked when the timer expires.

Public Attributes

ClientSessionsession

Detailed Description

This is used to time out RPCs and sessions when the server is no longer responding.

After a timeout period, the client will send a ping to the server. If no response is received within another timeout period, the session is closed.

Definition at line 209 of file ClientSession.h.


Constructor & Destructor Documentation

Definition at line 167 of file ClientSession.cc.


Member Function Documentation

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 174 of file ClientSession.cc.


Member Data Documentation

Definition at line 213 of file ClientSession.h.


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