Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / Bug_2908_Regression / Client_Task.h
blob754f82a480320e545856cc4c90b1fd7818ab1072
1 #ifndef COLLOCATED_TEST_CLIENT_TASK_H
2 #define COLLOCATED_TEST_CLIENT_TASK_H
3 #include /**/ "ace/pre.h"
4 #include "ace/Task.h"
6 #if !defined (ACE_LACKS_PRAGMA_ONCE)
7 # pragma once
8 #endif /* ACE_LACKS_PRAGMA_ONCE */
10 #include "tao/ORB.h"
11 #include "MessengerC.h"
13 /// Implement a Task to run the client as a thread
14 class Client_Task : public ACE_Task_Base
16 public:
17 /// Constructor
18 Client_Task (CORBA::ORB_ptr corb,
19 Messenger_ptr messenger,
20 ACE_Thread_Manager *thr_mgr);
22 /// Thread entry point
23 int svc ();
25 int result_;
26 private:
27 CORBA::ORB_var corb_;
29 Messenger_var messenger_;
32 #include /**/ "ace/post.h"
33 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */