diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/Bug_2709_Regression/Server_Task.h')
-rw-r--r-- | ACE/TAO/orbsvcs/tests/Bug_2709_Regression/Server_Task.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/Bug_2709_Regression/Server_Task.h b/ACE/TAO/orbsvcs/tests/Bug_2709_Regression/Server_Task.h new file mode 100644 index 00000000000..027e6dd0a2e --- /dev/null +++ b/ACE/TAO/orbsvcs/tests/Bug_2709_Regression/Server_Task.h @@ -0,0 +1,31 @@ +// $Id$ + +#include "ace/Task.h" +#include "ace/Manual_Event.h" +#include "tao/ORB.h" + +////////////////////////////////////////////////////////////////////////// + +// This task should be run to start Test object implementation +class Server_Task : public ACE_Task_Base +{ +public: + /// Constructor + Server_Task (const ACE_TCHAR *output, + CORBA::ORB_ptr sorb, + ACE_Manual_Event &me, + ACE_Thread_Manager *thr_mgr); + + /// Thread entry point + int svc (void); + +private: + /// Output file for IOR + const ACE_TCHAR *output_; + + /// Manual event to wake up the main thread to create a client + /// thread. + ACE_Manual_Event &me_; + + CORBA::ORB_var sorb_; +}; |