2 #ifndef STACK_RECURSION_CLIENT_TASK_H
3 #define STACK_RECURSION_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 /// Implement a Task to run the experiments using multiple threads.
15 class Client_Task
: public ACE_Task_Base
19 Client_Task (Test::Sender_ptr receiver
,
20 CORBA::Long event_count
,
21 CORBA::ULong event_size
,
22 ACE_Thread_Manager
*thr_mgr
);
24 /// Thread entry point
28 /// Simple pings to prune up the connections
29 void validate_connections ();
32 /// Reference to the test interface
33 Test::Sender_var sender_
;
35 /// Total number of events
36 CORBA::Long event_count_
;
38 /// Size of each message
39 CORBA::ULong event_size_
;
42 #include /**/ "ace/post.h"
43 #endif /* STACK_RECURSION_CLIENT_TASK_H */