Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool5 / ClientTask.h
blobf92336b0c26d35ea8a0ac568fb15a788559a3e22
1 //=============================================================================
2 /**
3 * @file ClientTask.h
5 * @author Tim Bradley <bradley_t@ociweb.com>
6 */
7 //=============================================================================
9 #ifndef CLIENT_TASK_H
10 #define CLIENT_TASK_H
12 #include "FooC.h"
13 #include "CallbackC.h"
14 #include "ace/Task.h"
16 class ClientTask : public ACE_Task_Base
18 public:
19 ClientTask(CORBA::ORB_ptr orb,
20 Foo_ptr foo,
21 Callback_ptr callback,
22 bool collocated = false);
24 virtual ~ClientTask();
26 virtual int open(void* x = 0);
27 virtual int svc();
28 virtual int close(u_long);
30 private:
31 bool validate_connection ();
33 CORBA::ORB_var orb_;
34 Foo_var foo_;
35 Callback_var callback_;
36 bool collocated_;
39 #endif