diff options
author | Michi Henning <michi@zeroc.com> | 2007-05-04 05:24:44 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-05-04 05:24:44 +0000 |
commit | df88a798fff56373464751cb95f0cb26e585ebc1 (patch) | |
tree | 99a83f212da9ca161a6ec408c895486bf71486d7 /cpp/demo/Ice/hello/Client.cpp | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2181 (diff) | |
download | ice-df88a798fff56373464751cb95f0cb26e585ebc1.tar.bz2 ice-df88a798fff56373464751cb95f0cb26e585ebc1.tar.xz ice-df88a798fff56373464751cb95f0cb26e585ebc1.zip |
Bug 1022.
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); } |