timeoutHandler Class Reference

A class to manage time-out in messaging services. More...

Inheritance diagram for timeoutHandler:
Inheritance graph
[legend]
Collaboration diagram for timeoutHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~timeoutHandler ()
virtual bool isTimeOut ()=0
virtual void resetTimeOut ()=0
virtual bool handleTimeOut ()=0

Detailed Description

A class to manage time-out in messaging services.


Constructor & Destructor Documentation

virtual ~timeoutHandler (  )  [virtual]

Member Function Documentation

virtual bool handleTimeOut (  )  [pure virtual]

Called when the time limit has been reached (when isTimeOut() returned true).

Returns:
true to continue (and reset the time-out) or false to cancel the current operation
virtual bool isTimeOut (  )  [pure virtual]

Called to test if the time limit has been reached.

Returns:
true if the time-out delay is elapsed
virtual void resetTimeOut (  )  [pure virtual]

Called to reset the time-out counter.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2