2 #ifndef ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H
3 #define ONEWAYS_INVOKING_TWOWAYS_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 (CORBA::ORB_ptr orb
,
19 Test::Sender_ptr sender
,
20 ACE_Thread_Manager
*thr_mgr
,
21 int number_of_oneways
);
23 /// Thread entry point
28 /// Reference to the test interface
29 Test::Sender_var sender_
;
34 /// Number of oneways to send
38 #include /**/ "ace/post.h"
39 #endif /* ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H */