-support noreply messages in the library

-> not yet in the XML file
This commit is contained in:
Andreas Volz 2008-09-10 00:14:38 +02:00
parent bbca1b0acc
commit f51dc1bf4c
6 changed files with 30 additions and 1 deletions

View file

@ -42,7 +42,9 @@ void *greeter_thread(void *arg)
for (int i = 0; i < 30 && spin; ++i)
{
cout << "+Hello" << endl;
cout << client.Hello(idstr) << endl;
cout << "-Hello" << endl;
}
cout << idstr << " done " << endl;

View file

@ -24,7 +24,7 @@ int32_t EchoServer::Random()
std::string EchoServer::Hello(const std::string &name)
{
sleep (10);
sleep (5);
return "Hello " + name + "!";
}