Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Muxing / Client_Task.h
blob6b621d0ba6d6f9a40770d292d95c74b26faf53f4
2 #ifndef MUXING_CLIENT_TASK_H
3 #define MUXING_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::Receiver_ptr receiver,
19 CORBA::Long event_count,
20 CORBA::ULong event_size,
21 ACE_Thread_Manager *thr_mgr);
23 /// Thread entry point
24 int svc ();
26 private:
27 /// Reference to the test interface
28 Test::Receiver_var receiver_;
30 /// Total number of events
31 CORBA::Long event_count_;
33 /// Size of each message
34 CORBA::ULong event_size_;
37 #include /**/ "ace/post.h"
38 #endif /* MUXING_CLIENT_TASK_H */