Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / GIOP_Fragments / Java_Big_Reply / Client_Task.h
blobbf995196d7e1eb252f5a6e7252de02c1314b8d8a
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 ();
25 private:
26 /// Reference to the test interface
27 Test::Big_Reply_var reply_gen_;
29 /// Number of remote calls
30 int event_count_;
33 #include /**/ "ace/post.h"
34 #endif /* JAVA_BIG_REPLY_CLIENT_TASK_H */