Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2709_Regression / Client_Task.h
blobfdaebf1da66b2ff307c2fba223504b900ddade3e
1 #include "ace/Task.h"
2 #include "orbsvcs/FaultTolerance/FT_IOGR_Property.h"
4 //////////////////////////////////////////////////////////////////////////
6 /// Implement a Task to run the client as a thread
7 class Client_Task : public ACE_Task_Base
9 public:
11 /// Constructor
12 Client_Task (CORBA::ORB_ptr corb,
13 ACE_Thread_Manager *thr_mgr,
14 const ACE_TString& collocated_ior_file,
15 const ACE_TString& server_ior_file);
17 CORBA::Object_ptr make_iogr (
18 const char* domain_id,
19 CORBA::ULongLong group_id,
20 CORBA::ULong group_version);
22 /// Thread entry point
23 int svc (void);
25 private:
26 CORBA::ORB_var corb_;
28 TAO_IOP::TAO_IOR_Manipulation_var iorm_;
30 const ACE_TString& collocated_ior_file_;
32 const ACE_TString& server_ior_file_;