Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Big_Reply / Client_Task.h
blobb487b05b1cacf693b90effdb3585057e9b48fc7b
2 #ifndef BIG_REPLY_CLIENT_TASK_H
3 #define 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 /// Validate the connection
27 void validate_connection ();
29 private:
30 /// Reference to the test interface
31 Test::Big_Reply_var reply_gen_;
33 /// Number of remote calls
34 int event_count_;
37 #include /**/ "ace/post.h"
38 #endif /* BIG_REPLY_CLIENT_TASK_H */