2 #ifndef LONGUPCALLS_CLIENT_TASK_H
3 #define LONGUPCALLS_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 #include "Reply_Handler.h"
15 /// Implement a Task to run the experiments using multiple threads.
16 class Client_Task
: public ACE_Task_Base
20 Client_Task (Test::Hello_ptr receiver
,
22 ACE_Thread_Manager
*thr_mgr
);
24 /// Thread entry point
28 /// Reference to the test interface
29 Test::Hello_var receiver_
;
31 Reply_Handler handler_
;
33 Test::AMI_HelloHandler_var handler_var_
;
37 #include /**/ "ace/post.h"
38 #endif /* LONGUPCALLS_CLIENT_TASK_H */