Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2709_Regression / Server_Task.h
blob881b0dddb1881c4f0baf3bb76f9c59ff39337d7c
1 #include "ace/Task.h"
2 #include "ace/Manual_Event.h"
3 #include "tao/ORB.h"
5 //////////////////////////////////////////////////////////////////////////
7 // This task should be run to start Test object implementation
8 class Server_Task : public ACE_Task_Base
10 public:
11 /// Constructor
12 Server_Task (const ACE_TCHAR *output,
13 CORBA::ORB_ptr sorb,
14 ACE_Manual_Event &me,
15 ACE_Thread_Manager *thr_mgr);
17 /// Thread entry point
18 int svc (void);
20 private:
21 /// Output file for IOR
22 const ACE_TCHAR *output_;
24 /// Manual event to wake up the main thread to create a client
25 /// thread.
26 ACE_Manual_Event &me_;
28 CORBA::ORB_var sorb_;