-support noreply messages in the library
-> not yet in the XML file
This commit is contained in:
parent
bbca1b0acc
commit
f51dc1bf4c
6 changed files with 30 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -24,7 +24,7 @@ int32_t EchoServer::Random()
|
|||
|
||||
std::string EchoServer::Hello(const std::string &name)
|
||||
{
|
||||
sleep (10);
|
||||
sleep (5);
|
||||
return "Hello " + name + "!";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue