Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / MT_NoUpcall_Client_Leader / worker.h
blob4e75ff3f4c3c4a66d91b9a83b11f36425cc6aa00
1 #if !defined( WORKER_H)
2 #define WORKER_H
4 #include /**/ "ace/pre.h"
5 #include "tao/corba.h"
6 #include "ace/Task.h"
8 class Worker : public ACE_Task_Base
10 // = TITLE
11 // Run a server thread
13 // = DESCRIPTION
14 // Use the ACE_Task_Base class to run server threads
16 public:
17 Worker (CORBA::ORB_ptr orb);
18 // ctor
20 virtual int svc ();
21 // The thread entry point.
23 public:
24 // The orb
25 CORBA::ORB_var orb_;
28 #include /**/ "ace/post.h"
30 #endif /* WORKER_H */