DUM Application Timers

From reSIProcate
Jump to navigation Jump to search

You can subclass the DumCommand object, and then use Stack::postMS(timerMsg, postTimeMs, &mDum).

See the UserAgentTimeout class in resip/recon/UserAgentCmds.hxx and UserAgent::startApplicationTimer in resip/recon/UserAgent.cxx for an example.

Once the timer fires the executeCommand method on your subclassed DumCommand object will be called.