More tests update
[ACE_TAO.git] / TAO / tests / Oneway_Send_Timeouts / Client_Task.h
blobb40ae16d5361474a13ca2cf2f904d244f4095131
1 #ifndef _CLIENT_TASK_
2 #define _CLIENT_TASK_
4 #include "Client.h"
6 #include "ace/ARGV.h"
8 class Client_Task : public ACE_Task_Base
10 public:
12 Client_Task (const std::string& args)
13 : args_ (args)
14 { }
16 virtual int svc ()
18 ACE_ARGV my_args (args_.c_str());
21 Client client (my_args.argc(), my_args.argv());
22 client.run();
25 ACE_DEBUG ((LM_DEBUG, "(%P|%t) Client_Task::svc>\n"));
26 return 0;
29 private:
30 std::string args_;
33 #endif //_CLIENT_TASK_