Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool4 / ClientTask.h
blobe361cc1c606fdf697afa99467991597ad7b0dc4f
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(Foo_ptr foo,
20 Callback_ptr callback);
22 virtual ~ClientTask();
24 virtual int open(void* x = 0);
25 virtual int svc();
26 virtual int close(u_long);
28 private:
29 Foo_var foo_;
30 Callback_var callback_;
33 #endif