diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-09-26 18:56:57 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-09-26 18:56:57 -0400 |
commit | bb057831e174a0d4c06642c573a06eae7296f36c (patch) | |
tree | 9324bd248348032a1941633bb499ef09679febbb /cpp/test/Glacier2/sessionControl/Client.cpp | |
parent | Squashed commit of the following: (diff) | |
download | ice-bb057831e174a0d4c06642c573a06eae7296f36c.tar.bz2 ice-bb057831e174a0d4c06642c573a06eae7296f36c.tar.xz ice-bb057831e174a0d4c06642c573a06eae7296f36c.zip |
Squashed commit of the following:
commit 8b2757175b076f620b2f5c5c788f811f38a4fa5b
Author: Bernard Normier <bernard@zeroc.com>
Date: Wed Sep 26 18:56:30 2007 -0400
Deprecated Glacier2.Admin and IcePatch2.Admin
Diffstat (limited to 'cpp/test/Glacier2/sessionControl/Client.cpp')
-rw-r--r-- | cpp/test/Glacier2/sessionControl/Client.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/Glacier2/sessionControl/Client.cpp b/cpp/test/Glacier2/sessionControl/Client.cpp index e80822b6731..04b3fa4bb8c 100644 --- a/cpp/test/Glacier2/sessionControl/Client.cpp +++ b/cpp/test/Glacier2/sessionControl/Client.cpp @@ -99,13 +99,13 @@ SessionControlClient::run(int argc, char* argv[]) session = Test::SessionPrx::uncheckedCast(router->createSession("userid", "abc123")); session->shutdown(); communicator()->setDefaultRouter(0); - ObjectPrx adminBase = communicator()->stringToProxy("Glacier2/admin:tcp -h 127.0.0.1 -p 12348 -t 10000"); - Glacier2::AdminPrx admin = Glacier2::AdminPrx::checkedCast(adminBase); - test(admin); - admin->shutdown(); + ObjectPrx processBase = communicator()->stringToProxy("Glacier2/admin -f Process:tcp -h 127.0.0.1 -p 12348 -t 10000"); + Ice::ProcessPrx process = Ice::ProcessPrx::checkedCast(processBase); + test(process); + process->shutdown(); try { - admin->ice_ping(); + process->ice_ping(); test(false); } catch(const Ice::LocalException&) |