Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Collocation_Tests / Client_Task.h
blob15511cd7a029159156836107a64e037d8d5b1759
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:
17 /// Constructor
18 Client_Task (const ACE_TCHAR *input,
19 CORBA::ORB_ptr corb,
20 ACE_Thread_Manager *thr_mgr);
22 /// Thread entry point
23 int svc ();
25 private:
26 const ACE_TCHAR *input_;
28 CORBA::ORB_var corb_;
31 #include /**/ "ace/post.h"
32 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */