From d81701ca8182942b7936f9fd84a019b695e9c890 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 23 May 2014 11:59:44 +0200 Subject: Added support for invocation timeouts and ACM heartbeats --- java/src/Ice/ObjectPrx.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'java/src/Ice/ObjectPrx.java') diff --git a/java/src/Ice/ObjectPrx.java b/java/src/Ice/ObjectPrx.java index 53031953f41..74735d75265 100644 --- a/java/src/Ice/ObjectPrx.java +++ b/java/src/Ice/ObjectPrx.java @@ -869,6 +869,13 @@ public interface ObjectPrx **/ int ice_getLocatorCacheTimeout(); + /** + * Returns the invocation timeout of this proxy. + * + * @return The invocation timeout value (in seconds). + **/ + int ice_getInvocationTimeout(); + /** * Returns the connection id of this proxy. * @@ -886,6 +893,14 @@ public interface ObjectPrx **/ ObjectPrx ice_locatorCacheTimeout(int newTimeout); + /** + * Creates a new proxy that is identical to this proxy, except for the invocation timeout. + * + * @param newTimeout The new invocation timeout (in seconds). + * + **/ + ObjectPrx ice_invocationTimeout(int newTimeout); + /** * Returns whether this proxy caches connections. * -- cgit v1.2.3