summaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'js/src')
-rw-r--r--js/src/Ice/ObjectPrx.d.ts9
-rw-r--r--js/src/Ice/ObjectPrx.js5
2 files changed, 13 insertions, 1 deletions
diff --git a/js/src/Ice/ObjectPrx.d.ts b/js/src/Ice/ObjectPrx.d.ts
index a377f92c4fb..6ea90a7022b 100644
--- a/js/src/Ice/ObjectPrx.d.ts
+++ b/js/src/Ice/ObjectPrx.d.ts
@@ -352,6 +352,13 @@ declare module "ice"
ice_fixed(conn:Connection):this;
/**
+ * Returns whether this proxy is a fixed proxy.
+ *
+ * @return True if this is a fixed proxy, false otherwise.
+ **/
+ ice_isFixed():boolean;
+
+ /**
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
* it first attempts to create a connection.
* @return The asynchronous result object for the invocation.
@@ -380,7 +387,7 @@ declare module "ice"
ice_isConnectionCached():boolean;
/**
- * Flushes any pending batched requests for this communicator. The call blocks until the flush is complete.
+ * Flushes any pending batched requests for this communicator.
* @return The asynchronous result object for the invocation.
*/
ice_flushBatchRequests():AsyncResult<void>;
diff --git a/js/src/Ice/ObjectPrx.js b/js/src/Ice/ObjectPrx.js
index e51fe929a00..a29698fe192 100644
--- a/js/src/Ice/ObjectPrx.js
+++ b/js/src/Ice/ObjectPrx.js
@@ -447,6 +447,11 @@ class ObjectPrx
}
}
+ ice_isFixed()
+ {
+ return this._reference instanceof Ice.FixedReference;
+ }
+
ice_getConnectionId()
{
return this._reference.getConnectionId();