diff options
Diffstat (limited to 'java/demo/Ice/hello/Client.java')
-rw-r--r-- | java/demo/Ice/hello/Client.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/demo/Ice/hello/Client.java b/java/demo/Ice/hello/Client.java index e98c16c092b..d61467be420 100644 --- a/java/demo/Ice/hello/Client.java +++ b/java/demo/Ice/hello/Client.java @@ -41,7 +41,8 @@ public class Client } Ice.ObjectPrx base = communicator.stringToProxy(ref); - HelloPrx twoway = HelloPrxHelper.checkedCast(base); + HelloPrx twoway = HelloPrxHelper.checkedCast( + base.ice_twoway().ice_timeout(-1).ice_secure(false)); if (twoway == null) { System.err.println("invalid object reference"); |