diff options
author | Marc Laukien <marc@zeroc.com> | 2002-01-15 17:14:48 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-01-15 17:14:48 +0000 |
commit | 03ebac3c1b6a55418de40b98a303620f85ea2023 (patch) | |
tree | 0377744a848f7b2739514e74d3af761737978e3d /cpp/demo/Ice/hello/Client.cpp | |
parent | updates. (diff) | |
download | ice-03ebac3c1b6a55418de40b98a303620f85ea2023.tar.bz2 ice-03ebac3c1b6a55418de40b98a303620f85ea2023.tar.xz ice-03ebac3c1b6a55418de40b98a303620f85ea2023.zip |
callback demo
Diffstat (limited to 'cpp/demo/Ice/hello/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/hello/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Ice/hello/Client.cpp b/cpp/demo/Ice/hello/Client.cpp index 48234f2ae00..a0819f5dd46 100644 --- a/cpp/demo/Ice/hello/Client.cpp +++ b/cpp/demo/Ice/hello/Client.cpp @@ -44,7 +44,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } Ice::ObjectPrx base = communicator->stringToProxy(ref); - HelloPrx twoway = HelloPrx::checkedCast(base); + HelloPrx twoway = HelloPrx::checkedCast(base->ice_twoway()->ice_timeout(-1)->ice_secure(false)); if (!twoway) { cerr << argv[0] << ": invalid object reference" << endl; |