diff options
Diffstat (limited to 'java/demo/Ice/hello/Client.java')
-rw-r--r-- | java/demo/Ice/hello/Client.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/demo/Ice/hello/Client.java b/java/demo/Ice/hello/Client.java index a81bb3e6f1d..688644c92c1 100644 --- a/java/demo/Ice/hello/Client.java +++ b/java/demo/Ice/hello/Client.java @@ -63,7 +63,7 @@ public class Client extends Ice.Application setInterruptHook(new ShutdownHook()); HelloPrx twoway = HelloPrxHelper.checkedCast( - communicator().propertyToProxy("Hello.Proxy").ice_twoway().ice_timeout(-1).ice_secure(false)); + communicator().propertyToProxy("Hello.Proxy").ice_twoway().ice_secure(false)); if(twoway == null) { System.err.println("invalid proxy"); @@ -143,9 +143,9 @@ public class Client extends Ice.Application timeout = -1; } - twoway = (HelloPrx)twoway.ice_timeout(timeout); - oneway = (HelloPrx)oneway.ice_timeout(timeout); - batchOneway = (HelloPrx)batchOneway.ice_timeout(timeout); + twoway = (HelloPrx)twoway.ice_invocationTimeout(timeout); + oneway = (HelloPrx)oneway.ice_invocationTimeout(timeout); + batchOneway = (HelloPrx)batchOneway.ice_invocationTimeout(timeout); if(timeout == -1) { |