reSIProcate/repro  9694
Classes | Namespaces | Functions
testDispatcher.cxx File Reference
#include "repro/Worker.hxx"
#include "repro/Dispatcher.hxx"
#include "resip/stack/SipStack.hxx"
#include "resip/stack/StackThread.hxx"
#include "resip/stack/TransactionUser.hxx"
#include "resip/stack/ApplicationMessage.hxx"
#include "rutil/Data.hxx"
#include <iostream>
#include <cassert>
Include dependency graph for testDispatcher.cxx:

Go to the source code of this file.

Classes

class  test::DummyWorkMessage
class  test::DummyWorker
class  test::DummyTU

Namespaces

namespace  test

Functions

int main ()

Function Documentation

int main ( void  )

Definition at line 296 of file testDispatcher.cxx.

{
   resip::SipStack mStack;
   resip::StackThread stackThread(mStack);
   test::DummyTU mTU(&mStack);
   stackThread.run();
   
   mTU.go();
   std::cout << "PASSED" << std::endl;
   stackThread.shutdown();
   stackThread.join();
   mStack.shutdown();
}