Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / GIOP_Fragments / Java_Big_Reply / Client_Task.h
blob995a5646e3928958fab0662e088c0a0180881987
2 #ifndef JAVA_BIG_REPLY_CLIENT_TASK_H
3 #define JAVA_BIG_REPLY_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 (Test::Big_Reply_ptr receiver,
19 CORBA::Long event_count,
20 ACE_Thread_Manager *thr_mgr);
22 /// Thread entry point
23 int svc (void);
25 private:
27 /// Reference to the test interface
28 Test::Big_Reply_var reply_gen_;
30 /// Number of remote calls
31 int event_count_;
34 #include /**/ "ace/post.h"
35 #endif /* JAVA_BIG_REPLY_CLIENT_TASK_H */