diff options
author | Marc Laukien <marc@zeroc.com> | 2001-11-13 20:28:08 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-11-13 20:28:08 +0000 |
commit | 7d200cf8404655ce2e0ba62360d7030b67eb8514 (patch) | |
tree | 9de4d4a471480bb30a4bad05fcb3859a47a1b09e /cpp/demo/Ice/hello/Client.cpp | |
parent | Added for testing purposes. "cacert.pem" is a self-signed Mutable Realms CA (diff) | |
download | ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.tar.bz2 ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.tar.xz ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.zip |
fixes
Diffstat (limited to 'cpp/demo/Ice/hello/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/hello/Client.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/cpp/demo/Ice/hello/Client.cpp b/cpp/demo/Ice/hello/Client.cpp index d11b6515407..08cf4b27d36 100644 --- a/cpp/demo/Ice/hello/Client.cpp +++ b/cpp/demo/Ice/hello/Client.cpp @@ -50,10 +50,10 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) cerr << argv[0] << ": invalid object reference" << endl; return EXIT_FAILURE; } - HelloPrx oneway = HelloPrx::uncheckedCast(twoway->_oneway()); - HelloPrx batchOneway = HelloPrx::uncheckedCast(twoway->_batchOneway()); - HelloPrx datagram = HelloPrx::uncheckedCast(twoway->_datagram()); - HelloPrx batchDatagram = HelloPrx::uncheckedCast(twoway->_batchDatagram()); + HelloPrx oneway = HelloPrx::uncheckedCast(twoway->_ice_oneway()); + HelloPrx batchOneway = HelloPrx::uncheckedCast(twoway->_ice_batchOneway()); + HelloPrx datagram = HelloPrx::uncheckedCast(twoway->_ice_datagram()); + HelloPrx batchDatagram = HelloPrx::uncheckedCast(twoway->_ice_batchDatagram()); bool secure = false; int timeout = -1; @@ -89,8 +89,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } else if (c == 'f') { - batchOneway->_flush(); - batchDatagram->_flush(); + batchOneway->_ice_flush(); + batchDatagram->_ice_flush(); } else if (c == 'T') { @@ -103,9 +103,9 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) timeout = -1; } - twoway = HelloPrx::uncheckedCast(twoway->_timeout(timeout)); - oneway = HelloPrx::uncheckedCast(oneway->_timeout(timeout)); - batchOneway = HelloPrx::uncheckedCast(batchOneway->_timeout(timeout)); + twoway = HelloPrx::uncheckedCast(twoway->_ice_timeout(timeout)); + oneway = HelloPrx::uncheckedCast(oneway->_ice_timeout(timeout)); + batchOneway = HelloPrx::uncheckedCast(batchOneway->_ice_timeout(timeout)); if (timeout == -1) { @@ -120,11 +120,11 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { secure = !secure; - twoway = HelloPrx::uncheckedCast(twoway->_secure(secure)); - oneway = HelloPrx::uncheckedCast(oneway->_secure(secure)); - batchOneway = HelloPrx::uncheckedCast(batchOneway->_secure(secure)); - datagram = HelloPrx::uncheckedCast(datagram->_secure(secure)); - batchDatagram = HelloPrx::uncheckedCast(batchDatagram->_secure(secure)); + twoway = HelloPrx::uncheckedCast(twoway->_ice_secure(secure)); + oneway = HelloPrx::uncheckedCast(oneway->_ice_secure(secure)); + batchOneway = HelloPrx::uncheckedCast(batchOneway->_ice_secure(secure)); + datagram = HelloPrx::uncheckedCast(datagram->_ice_secure(secure)); + batchDatagram = HelloPrx::uncheckedCast(batchDatagram->_ice_secure(secure)); if (secure) { |