Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Oneway_Send_Timeouts / Client_Task.h
blob6846ba0bc4c08635fb8dac3611765e9aa273bc1b
1 #ifndef _CLIENT_TASK_
2 #define _CLIENT_TASK_
4 #include "Client.h"
6 #include "ace/ARGV.h"
7 #include "ace/Task.h"
9 class Client_Task : public ACE_Task_Base
11 public:
12 Client_Task (const std::string& args)
13 : args_ (args)
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_