reSIProcate/repro  9694
Public Member Functions
test::DummyWorker Class Reference
Inheritance diagram for test::DummyWorker:
Inheritance graph
[legend]
Collaboration diagram for test::DummyWorker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DummyWorker ()
virtual ~DummyWorker ()
virtual void process (resip::ApplicationMessage *app)
virtual DummyWorkerclone () const

Detailed Description

Definition at line 66 of file testDispatcher.cxx.


Constructor & Destructor Documentation

test::DummyWorker::DummyWorker ( ) [inline]

Definition at line 69 of file testDispatcher.cxx.

{}
virtual test::DummyWorker::~DummyWorker ( ) [inline, virtual]

Definition at line 70 of file testDispatcher.cxx.

{}

Member Function Documentation

virtual DummyWorker* test::DummyWorker::clone ( ) const [inline, virtual]

Implements repro::Worker.

Definition at line 86 of file testDispatcher.cxx.

      {
         return new DummyWorker;
      }
virtual void test::DummyWorker::process ( resip::ApplicationMessage app) [inline, virtual]

Implements repro::Worker.

Definition at line 72 of file testDispatcher.cxx.

      {
         DummyWorkMessage* dwm = dynamic_cast<DummyWorkMessage*>(app);
         if(dwm)
         {
            dwm->result()=" I got that thing you sent me.";
            if(dwm->wait)
            {
               sleep(1);
            }
         }
         
      }

The documentation for this class was generated from the following file: