From 2cb718a85b417fb6a58be04fe1f102f733b8d39c Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Tue, 2 Oct 2007 11:48:54 -0400 Subject: Squashed commit of the following: commit 0ba15449d9dd44933d82cb643efded9dee12c5af Author: Bernard Normier Date: Tue Oct 2 11:48:07 2007 -0400 Documented updates commit cf49ee5a73bc62d1b6814dec5d9f288f0f45901d Author: Bernard Normier Date: Tue Oct 2 11:38:25 2007 -0400 Optimized implementation of various Prx ice_xxx functions/methods commit 706209d6d1a4e894fecf19dd1c0c3b6f12ef5842 Author: Bernard Normier Date: Fri Sep 28 14:34:02 2007 -0400 Updated code-generation to "overwrite" various Ice::ObjectPrx ice_ operations. --- cpp/src/IceGrid/Client.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cpp/src/IceGrid/Client.cpp') diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index 3e67844adc0..c814f9cb0cb 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -364,7 +364,9 @@ Client::run(int argc, char* argv[]) // Use SSL if available. try { - router = Glacier2::RouterPrx::checkedCast(router->ice_secure(true)); + Glacier2::RouterPrx secureRouter = router->ice_secure(true); + secureRouter->ice_ping(); + router = secureRouter; } catch(const Ice::NoEndpointException&) { @@ -484,7 +486,9 @@ Client::run(int argc, char* argv[]) // Use SSL if available. try { - registry = RegistryPrx::checkedCast(registry->ice_secure(true)); + RegistryPrx secureRegistry = registry->ice_secure(true); + secureRegistry->ice_ping(); + registry = secureRegistry; } catch(const Ice::NoEndpointException&) { -- cgit v1.2.3