Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Two_Objects / worker.h
blob82dba9770b1426c836256dece196d4e474e4d053
1 // -*- C++ -*-
3 #ifndef TAO_TWO_OBJECTS_WORKER_H
4 #define TAO_TWO_OBJECTS_WORKER_H
6 #include "tao/ORB.h"
7 #include "ace/Task.h"
9 // Use the ACE_Task_Base class to run server threads
10 class Worker : public ACE_Task_Base
12 public:
13 // Ctor
14 Worker (CORBA::ORB_ptr orb);
16 // The thread entry point.
17 virtual int svc ();
20 private:
21 // The orb
22 CORBA::ORB_var orb_;
25 #endif /* TAO_TWO_OBJECTS_WORKER_H */