|
reSIProcate/DialogUsageManager
9694
|
#include <DumThread.hxx>


Public Member Functions | |
| DumThread (DialogUsageManager &dum) | |
| virtual void | thread () |
Private Attributes | |
| DialogUsageManager & | mDum |
Definition at line 11 of file DumThread.hxx.
| DumThread::DumThread | ( | DialogUsageManager & | dum | ) |
Definition at line 9 of file DumThread.cxx.
: mDum(dum) { }
| void DumThread::thread | ( | ) | [virtual] |
Implements resip::ThreadIf.
Definition at line 15 of file DumThread.cxx.
References resip::TimeLimitFifo< Msg >::getNext(), resip::DialogUsageManager::internalProcess(), resip::ThreadIf::isShutdown(), mDum, resip::TransactionUser::mFifo, and WarningLog.
{
while (!isShutdown())
{
try
{
std::auto_ptr<Message> msg(mDum.mFifo.getNext(1000)); // Only need to wake up to see if we are shutdown
if (msg.get())
{
mDum.internalProcess(msg);
}
}
catch (BaseException& e)
{
WarningLog (<< "Unhandled exception: " << e);
}
}
}

DialogUsageManager& resip::DumThread::mDum [private] |
Definition at line 18 of file DumThread.hxx.
Referenced by thread().
1.7.5.1