Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1476_Regression / Client_Task.h
blob7e31b950196413720fade094a25451d69f86e66e
2 #ifndef ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H
3 #define ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
6 #include "TestC.h"
7 #include "ace/Task.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 # pragma once
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 /// Implement a Task to run the experiments using multiple threads.
14 class Client_Task : public ACE_Task_Base
16 public:
17 /// Constructor
18 Client_Task (CORBA::ORB_ptr orb,
19 Test::Sender_ptr sender,
20 ACE_Thread_Manager *thr_mgr,
21 int number_of_oneways);
23 /// Thread entry point
24 int svc (void);
26 private:
28 /// Reference to the test interface
29 Test::Sender_var sender_;
31 /// Our Orb...
32 CORBA::ORB_var orb_;
34 /// Number of oneways to send
35 int number_;
38 #include /**/ "ace/post.h"
39 #endif /* ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H */