Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Two_Objects / worker.h
blob1df842862e9307c1cd34d6257cf6398b6a102f66
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:
14 // Ctor
15 Worker (CORBA::ORB_ptr orb);
17 // The thread entry point.
18 virtual int svc (void);
21 private:
22 // The orb
23 CORBA::ORB_var orb_;
26 #endif /* TAO_TWO_OBJECTS_WORKER_H */