2 #ifndef COLLOCATED_TEST_CLIENT_TASK_H
3 #define COLLOCATED_TEST_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 #include "orbsvcs/CosNamingC.h"
14 /// Implement a Task to run the client as a thread
15 class Client_Task
: public ACE_Task_Base
19 Client_Task (CosNaming::NamingContext_ptr root_context
,
21 ACE_Thread_Manager
*thr_mgr
,
22 CORBA::Boolean result
);
24 /// Thread entry point
28 CosNaming::NamingContext_var root_context_
;
32 // Boolean to indicate whether the invocation should work or not.
33 CORBA::Boolean result_
;
36 #include /**/ "ace/post.h"
37 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */