2#define DISPATCHER_HXX 1
15 class ApplicationMessage;
54 bool startImmediately=
true);
69 virtual bool post(std::unique_ptr<resip::ApplicationMessage>& work);
A generic thread-bank class.
resip::TimeLimitFifo< resip::ApplicationMessage > mFifo
virtual bool post(std::unique_ptr< resip::ApplicationMessage > &work)
Posts a message to this thread bank.
std::vector< WorkerThread * > mWorkerThreads
void startAll()
Starts the thread bank.
void shutdownAll()
Shuts down the thread-bank.
void resume()
Resumes accepting work.
Worker * mWorkerPrototype
time_t fifoTimeDepth() const
void stop()
This Dispatcher will stop accepting new work, but processing will continue normally on the messages a...
size_t fifoCountDepth() const
Wraps the readers/writers mutex implementation on your platform.
This is the primary point of interaction between the app-layer and the stack.
dcm! – add UnusedChecking(_enum) below;