Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2241_Regression / Client_Task.h
blobcc58f128c586e56789f62c23b9fedf0f7d3d5659
2 #ifndef COLLOCATED_TEST_CLIENT_TASK_H
3 #define COLLOCATED_TEST_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
5 #include "ace/Task.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 # pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
10 #include "tao/ORB.h"
13 /// Implement a Task to run the client as a thread
14 class Client_Task : public ACE_Task_Base
16 public:
18 /// Constructor
19 Client_Task (const ACE_TCHAR *input,
20 CORBA::ORB_ptr corb,
21 ACE_Thread_Manager *thr_mgr);
23 /// Thread entry point
24 int svc (void);
26 private:
27 const ACE_TCHAR *input_;
29 CORBA::ORB_var corb_;
33 #include /**/ "ace/post.h"
34 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */