diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-11-04 07:24:01 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-11-04 07:24:01 +0000 |
commit | d8c5ecdfda8554b650fd4f3c229bcccc439d6e1a (patch) | |
tree | 1e81a202c10e02d32f10916aca6447c33f397759 /cpp/test/IceSSL/certificateVerification/Client.cpp | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=570 (diff) | |
download | ice-d8c5ecdfda8554b650fd4f3c229bcccc439d6e1a.tar.bz2 ice-d8c5ecdfda8554b650fd4f3c229bcccc439d6e1a.tar.xz ice-d8c5ecdfda8554b650fd4f3c229bcccc439d6e1a.zip |
some cleanup.
Diffstat (limited to 'cpp/test/IceSSL/certificateVerification/Client.cpp')
-rw-r--r-- | cpp/test/IceSSL/certificateVerification/Client.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/IceSSL/certificateVerification/Client.cpp b/cpp/test/IceSSL/certificateVerification/Client.cpp index bf3905afe76..714ccc1d201 100644 --- a/cpp/test/IceSSL/certificateVerification/Client.cpp +++ b/cpp/test/IceSSL/certificateVerification/Client.cpp @@ -64,8 +64,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) sslPlugin->addTrustedCertificate(IceSSL::Client, serverTrustedCert); try { - PingerPrx pinger1 = PingerPrx::checkedCast(communicator->stringToProxy(ref1)); - pinger1->ping(); + Ice::ObjectPrx pinger1 = communicator->stringToProxy(ref1); + pinger1->ice_ping(); cout << "ok" << endl; } catch(const Ice::LocalException& ex) @@ -91,8 +91,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) sslPlugin->setRSAKeys(IceSSL::Client, clientUntrustedKey, clientUntrustedCert); try { - PingerPrx pinger2 = PingerPrx::checkedCast(communicator->stringToProxy(ref2)); - pinger2->ping(); + Ice::ObjectPrx pinger2 = communicator->stringToProxy(ref2); + pinger2->ice_ping(); km->shutdown(); test(false); } @@ -113,8 +113,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) sslPlugin->setRSAKeys(IceSSL::Client, clientTrustedKey, clientTrustedCert); try { - PingerPrx pinger3 = PingerPrx::checkedCast(communicator->stringToProxy(ref3)); - pinger3->ping(); + Ice::ObjectPrx pinger3 = communicator->stringToProxy(ref3); + pinger3->ice_ping(); km->shutdown(); test(false); } @@ -142,8 +142,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) sslPlugin->setRSAKeys(IceSSL::Client, clientUntrustedKey, clientUntrustedCert); try { - PingerPrx pinger4 = PingerPrx::checkedCast(communicator->stringToProxy(ref4)); - pinger4->ping(); + Ice::ObjectPrx pinger4 = communicator->stringToProxy(ref4); + pinger4->ice_ping(); km->shutdown(); test(false); } @@ -167,8 +167,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) try { - PingerPrx pinger5 = PingerPrx::checkedCast(communicator->stringToProxy(ref5)); - pinger5->ping(); + Ice::ObjectPrx pinger5 = communicator->stringToProxy(ref5); + pinger5->ice_ping(); cout << "ok" << endl; } catch(const Ice::LocalException& ex) |