diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-08-14 15:12:37 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-08-14 15:12:37 -0230 |
commit | 99b114636718d5222be16a8926af36dbb222cb63 (patch) | |
tree | b01b228cfa8f2d95baccc756cc805c7a74fdde7d /cpp/demo/IceDiscovery/hello/Client.cpp | |
parent | ICE-5636 Gui demos do not use ice_invocationTimeout (diff) | |
download | ice-99b114636718d5222be16a8926af36dbb222cb63.tar.bz2 ice-99b114636718d5222be16a8926af36dbb222cb63.tar.xz ice-99b114636718d5222be16a8926af36dbb222cb63.zip |
Fixed ice_invocationTimout usage in IceDiscovery hello demos
Diffstat (limited to 'cpp/demo/IceDiscovery/hello/Client.cpp')
-rw-r--r-- | cpp/demo/IceDiscovery/hello/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/IceDiscovery/hello/Client.cpp b/cpp/demo/IceDiscovery/hello/Client.cpp index a5a31d88cf0..cffd2d9f9d8 100644 --- a/cpp/demo/IceDiscovery/hello/Client.cpp +++ b/cpp/demo/IceDiscovery/hello/Client.cpp @@ -56,7 +56,7 @@ HelloClient::run(int argc, char* argv[]) // only includes the Ice object identity. It's resolved using the Ice locator // implementation. // - HelloPrx twoway = HelloPrx::checkedCast(communicator()->stringToProxy("hello")->ice_timeout(-1)); + HelloPrx twoway = HelloPrx::checkedCast(communicator()->stringToProxy("hello")); if(!twoway) { cerr << argv[0] << ": invalid proxy" << endl; @@ -129,9 +129,9 @@ HelloClient::run(int argc, char* argv[]) timeout = -1; } - twoway = twoway->ice_timeout(timeout); - oneway = oneway->ice_timeout(timeout); - batchOneway = batchOneway->ice_timeout(timeout); + twoway = twoway->ice_invocationTimeout(timeout); + oneway = oneway->ice_invocationTimeout(timeout); + batchOneway = batchOneway->ice_invocationTimeout(timeout); if(timeout == -1) { |