More tests update
[ACE_TAO.git] / TAO / tests / Collocation_Exception_Test / Client_Task.h
blob0e094e55f6289b072b6a7bf55a12ba4ee1179255
2 #ifndef COLLOCATED_TEST_CLIENT_TASK_H
3 #define COLLOCATED_TEST_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
5 #include "ace/Task.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 # pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
10 #include "tao/ORB.h"
12 #include "TestC.h"
14 /// Implement a Task to run the client as a thread
15 class Client_Task : public ACE_Task_Base
17 public:
19 /// Constructor
20 Client_Task (const ACE_TCHAR *input,
21 CORBA::ORB_ptr corb,
22 ACE_Thread_Manager *thr_mgr);
24 /// Thread entry point
25 int svc (void);
27 private:
28 void test_system_exception (Test::Hello_ptr hello_ptr);
29 void test_user_exception_expected (Test::Hello_ptr hello_ptr);
30 void test_user_exception_not_expected (Test::Hello_ptr hello_ptr);
32 const ACE_TCHAR *input_;
34 CORBA::ORB_var corb_;
37 #include /**/ "ace/post.h"
38 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */