summaryrefslogtreecommitdiff
path: root/java/src/Ice/ObjectPrx.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/ObjectPrx.java')
-rw-r--r--java/src/Ice/ObjectPrx.java15
1 files changed, 15 insertions, 0 deletions
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
@@ -870,6 +870,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.
*
* @return The connection id.
@@ -887,6 +894,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.
*
* @return <code>true</code> if this proxy caches connections; <code>false</code>, otherwise.