diff options
author | Jose <jose@zeroc.com> | 2019-06-22 00:29:53 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-22 00:29:53 +0200 |
commit | c5959fd09de61604bedd75354401df6a57395d65 (patch) | |
tree | 3b0227f631c8b20fb1a1a274b92f63f52f34af2c /java-compat/src | |
parent | Small fix (diff) | |
parent | Enable -Wconversion with clang - Close #363 (diff) | |
download | ice-c5959fd09de61604bedd75354401df6a57395d65.tar.bz2 ice-c5959fd09de61604bedd75354401df6a57395d65.tar.xz ice-c5959fd09de61604bedd75354401df6a57395d65.zip |
Merge remote-tracking branch 'origin/3.7' into swift
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. * |