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
29 /// Simple pings to prune up the connections
30 void validate_connections (void);
33 /// Reference to the test interface
34 Test::Sender_var sender_
;
36 /// Total number of events
37 CORBA::Long event_count_
;
39 /// Size of each message
40 CORBA::ULong event_size_
;
43 #include /**/ "ace/post.h"
44 #endif /* STACK_RECURSION_CLIENT_TASK_H */