diff options
Diffstat (limited to 'cpp/demo/Ice/hello/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/hello/Client.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/demo/Ice/hello/Client.cpp b/cpp/demo/Ice/hello/Client.cpp index dbf877722d9..b87421f37c4 100644 --- a/cpp/demo/Ice/hello/Client.cpp +++ b/cpp/demo/Ice/hello/Client.cpp @@ -66,7 +66,17 @@ HelloClient::run(int argc, char* argv[]) { cout << "==> "; cin >> c; - if(c == 't') + if(c == 'p') + { + cout << communicator()->proxyToString(twoway) << endl; + cout << twoway->proxy(twoway) << endl; + } + else if(c == 'e') + { + HelloPrx h = twoway->echo(twoway); + cout << communicator()->proxyToString(h) << endl; + } + else if(c == 't') { twoway->sayHello(delay); } |