Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1495_Regression / Client_Task.h
blobcb903f47ab4ccff0dd084a813e5a28eb8e3d1a84
1 // -*- C++ -*-
3 /**
4 * @file Client_Task.h
5 * @author Will Otte <wotte@dre.vanderbilt.edu>'
7 * Defines the Client_Task class which acts as the process colocated client
8 * thread for the Bug1492_Regression test.
9 */
12 #ifndef BUG1492_REGRESSION_CLIENT_TASK_H
13 #define BUG1492_REGRESSION_CLIENT_TASK_H
15 #include /**/ "ace/pre.h"
16 #include "ace/Task.h"
18 #include "tao/ORB.h"
20 /// Implements a Task to run the process colocated client ORB.
22 class Client_Task : public ACE_Task_Base
24 public:
25 /// Constructor
26 Client_Task (const ACE_TCHAR *input,
27 CORBA::ORB_ptr corb,
28 ACE_Thread_Manager *thr_mgr);
30 /// Thread entry point.
31 int svc (void);
33 private:
34 /// File to read in the remote IOR.
35 const ACE_TCHAR *input_;
37 /// Client ORB.
38 CORBA::ORB_var corb_;
42 #include /**/ "ace/post.h"
43 #endif /* BUG1492_REGRESSION_CLIENT_TASK_H */