Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1551_Regression / Client_Task.h
blob4a942cc92b95a9c5b54cae9f2f5bfa2a7192ebdb
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 (void);
22 /// Thread entry point
23 int svc (void);
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 */