summaryrefslogtreecommitdiff
path: root/cpp/demo/Glacier2/callback/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-10-02 15:44:38 -0700
committerMark Spruiell <mes@zeroc.com>2009-10-02 15:44:38 -0700
commit2612b743884e38f49cb074ae52af0cf18fca85e5 (patch)
treed80ee84c285d9aabbf879ee15332fe7b7ecf950c /cpp/demo/Glacier2/callback/Client.cpp
parentfix to TestUtil.py (diff)
downloadice-2612b743884e38f49cb074ae52af0cf18fca85e5.tar.bz2
ice-2612b743884e38f49cb074ae52af0cf18fca85e5.tar.xz
ice-2612b743884e38f49cb074ae52af0cf18fca85e5.zip
Fixes related to 3772:
* install target in py/python/Makefile* * typos in Glacier2/Application.cpp * add restart command to C++/Python callback clients * bug fixes in Glacier2.py * minor fix in C# Glacier2.Application
Diffstat (limited to 'cpp/demo/Glacier2/callback/Client.cpp')
-rw-r--r--cpp/demo/Glacier2/callback/Client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/demo/Glacier2/callback/Client.cpp b/cpp/demo/Glacier2/callback/Client.cpp
index 6d56adf2765..a999ecbed78 100644
--- a/cpp/demo/Glacier2/callback/Client.cpp
+++ b/cpp/demo/Glacier2/callback/Client.cpp
@@ -46,6 +46,7 @@ menu()
"v: set/reset override context field\n"
"F: set/reset fake category\n"
"s: shutdown server\n"
+ "r: restart the session\n"
"x: exit\n"
"?: help\n";
}
@@ -202,6 +203,10 @@ CallbackClient::runWithSession(int argc, char* argv[])
{
twoway->shutdown();
}
+ else if(c == 'r')
+ {
+ restart()
+ }
else if(c == 'x')
{
// Nothing to do