Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_1551_Regression / Client_Task.h
blob337d870aed12fa360facb74b3fa8f60971f1a507
2 #ifndef CLIENT_TASK_H
3 #define CLIENT_TASK_H
5 #include /**/ "ace/pre.h"
7 #include "TestC.h"
8 #include "Reply_Handler.h"
9 #include "ace/Task.h"
11 /// Implement a Task to run the experiments using multiple threads.
12 class Client_Task : public ACE_Task_Base
14 public:
15 /// Constructor
16 Client_Task (Test::Hello_ptr receiver,
17 CORBA::ORB_ptr o,
18 ACE_Thread_Manager *thr_mgr);
20 ~Client_Task ();
22 /// Thread entry point
23 int svc ();
25 private:
26 /// Reference to the test interface
27 Test::Hello_var receiver_;
29 PortableServer::Servant_var <Reply_Handler> handler_;
31 Test::AMI_HelloHandler_var handler_var_;
33 CORBA::ORB_var orb_;
36 #include /**/ "ace/post.h"
37 #endif /* CLIENT_TASK_H */