|
VMime
|
#include <timeoutHandler.hpp>


Public Member Functions | |
| virtual | ~timeoutHandler () |
| virtual bool | isTimeOut ()=0 |
| virtual void | resetTimeOut ()=0 |
| virtual bool | handleTimeOut ()=0 |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A class to manage timeouts in messaging services.
This can be used to stop operations that takes too much time to complete (ie. no data received from the server for a long time if the network link is down).
|
virtual |
Called when the time limit has been reached (when isTimeOut() returned true).
Implemented in defaultTimeoutHandler.
Called to test if the time limit has been reached.
Implemented in defaultTimeoutHandler.
Called to reset the timeout counter.
Implemented in defaultTimeoutHandler.