2 #ifndef ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H
3 #define ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
7 #include "Receiver_i.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #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 sender
,
20 Test::Receiver_ptr us
,
21 ACE_Thread_Manager
*thr_mgr
,
22 Receiver_i
* receiver_impl
);
24 /// Thread entry point
28 /// Reference to the test interface
29 Test::Sender_var sender_
;
31 /// Reference to the test interface
32 Test::Receiver_var us_
;
34 Receiver_i
* receiver_impl_
;
37 #include /**/ "ace/post.h"
38 #endif /* ONEWAYS_INVOKING_TWOWAYS_CLIENT_TASK_H */