VMime
|
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 |
|
pure virtual |
Called when the time limit has been reached (when isTimeOut() returned true).
Implemented in defaultTimeoutHandler.
|
pure virtual |
Called to test if the time limit has been reached.
Implemented in defaultTimeoutHandler.
|
pure virtual |
Called to reset the timeout counter.
Implemented in defaultTimeoutHandler.