LogCabin
|
This is used to time out RPCs and sessions when the server is no longer responding. More...
Public Member Functions | |
Timer (ClientSession &session) | |
void | handleTimerEvent () |
This method is overridden by a subclass and invoked when the timer expires. | |
Public Attributes | |
ClientSession & | session |
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.
LogCabin::RPC::ClientSession::Timer::Timer | ( | ClientSession & | session | ) | [explicit] |
Definition at line 167 of file ClientSession.cc.
void LogCabin::RPC::ClientSession::Timer::handleTimerEvent | ( | ) | [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 174 of file ClientSession.cc.
Definition at line 213 of file ClientSession.h.