Namespace SipLib.Threading
Classes
QueuedActionWorkerTask
This class is intended to be the base class for other classes that need to queue actions and execute them on a single thread context. It is generally not used directly in a stand-alone manner.
After constructing a class derived from this class, the derived class must call the Start() method to start the background task. When the derived class is shutting down, it must call the Shutdown() method.
Actions are queued for execution by calling the EnqueueAction() method.
Derived classes can override the DoTimedEvents() methods so that they can do work periodically within the tread context of this class. The DoTimedEvents() method is called each time through the task loop. The maximum period of execution is the WaitIntervalMsec value provided in the constructor.