2 #ifndef MUXING_CLIENT_TASK_H
3 #define MUXING_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
9 #if !defined (ACE_LACKS_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
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
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 */