diff options
Diffstat (limited to 'java-compat/src')
-rw-r--r-- | java-compat/src/Ice/src/main/java/Ice/ObjectPrx.java | 7 | ||||
-rw-r--r-- | java-compat/src/Ice/src/main/java/Ice/ObjectPrxHelperBase.java | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/java-compat/src/Ice/src/main/java/Ice/ObjectPrx.java b/java-compat/src/Ice/src/main/java/Ice/ObjectPrx.java index 65d4a3e24bf..4c265c3abec 100644 --- a/java-compat/src/Ice/src/main/java/Ice/ObjectPrx.java +++ b/java-compat/src/Ice/src/main/java/Ice/ObjectPrx.java @@ -1112,6 +1112,13 @@ public interface ObjectPrx ObjectPrx ice_fixed(Ice.Connection connection); /** + * Returns whether this proxy is a fixed proxy. + * + * @return <code>true</code> if this is a fixed proxy, <code>false</code> otherwise. + **/ + boolean ice_isFixed(); + + /** * Returns the {@link Connection} for this proxy. If the proxy does not yet have an established connection, * it first attempts to create a connection. * diff --git a/java-compat/src/Ice/src/main/java/Ice/ObjectPrxHelperBase.java b/java-compat/src/Ice/src/main/java/Ice/ObjectPrxHelperBase.java index 28789a6158c..70ee6a66273 100644 --- a/java-compat/src/Ice/src/main/java/Ice/ObjectPrxHelperBase.java +++ b/java-compat/src/Ice/src/main/java/Ice/ObjectPrxHelperBase.java @@ -2311,6 +2311,17 @@ public class ObjectPrxHelperBase implements ObjectPrx, java.io.Serializable } /** + * Returns whether this proxy is a fixed proxy. + * + * @return <code>true</code> if this is a fixed proxy, <code>false</code> otherwise. + **/ + @Override + public final boolean ice_isFixed() + { + return _reference instanceof IceInternal.FixedReference; + } + + /** * Returns the {@link Connection} for this proxy. If the proxy does not yet have an established connection, * it first attempts to create a connection. * |