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 /java/test/Glacier2/router/CallbackClient.java | |
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 'java/test/Glacier2/router/CallbackClient.java')
-rw-r--r-- | java/test/Glacier2/router/CallbackClient.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/java/test/Glacier2/router/CallbackClient.java b/java/test/Glacier2/router/CallbackClient.java index c6ab1ca364f..96713a2740a 100644 --- a/java/test/Glacier2/router/CallbackClient.java +++ b/java/test/Glacier2/router/CallbackClient.java @@ -398,36 +398,36 @@ class CallbackClient extends Ice.Application System.out.println("ok"); } - Ice.ObjectPrx adminBase; + Ice.ObjectPrx processBase; { - System.out.print("testing stringToProxy for admin object... "); - adminBase = communicator().stringToProxy("Glacier2/admin:tcp -h 127.0.0.1 -p 12348 -t 10000"); + System.out.print("testing stringToProxy for process object... "); + processBase = communicator().stringToProxy("Glacier2/admin -f Process:tcp -h 127.0.0.1 -p 12348 -t 10000"); System.out.println("ok"); } /* { - System.out.print("uninstalling router with admin object... "); - adminBase.ice_router(null); + System.out.print("uninstalling router with process object... "); + processBase.ice_router(null); System.out.println("ok"); } */ - Glacier2.AdminPrx admin; + Ice.ProcessPrx process; { System.out.print("testing checked cast for admin object... "); - admin = Glacier2.AdminPrxHelper.checkedCast(adminBase); - test(admin != null); + process = Ice.ProcessPrxHelper.checkedCast(processBase); + test(process != null); System.out.println("ok"); } System.out.print("testing Glacier2 shutdown... "); - admin.shutdown(); + process.shutdown(); try { - admin.ice_ping(); + process.ice_ping(); test(false); } catch(Ice.LocalException ex) |