diff options
author | Jose <jose@zeroc.com> | 2019-06-21 21:10:51 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-21 21:11:22 +0200 |
commit | 004138a45e1dc99c7a3ed61d6ee000b6638ae325 (patch) | |
tree | bfb9d6c9ae5f79b4fcf9ea7726bed0290497c473 /csharp/src/Ice/Proxy.cs | |
parent | Fixed incorrect comment for ice_flushBatchRequestsAsync. Fixes #379. (diff) | |
download | ice-004138a45e1dc99c7a3ed61d6ee000b6638ae325.tar.bz2 ice-004138a45e1dc99c7a3ed61d6ee000b6638ae325.tar.xz ice-004138a45e1dc99c7a3ed61d6ee000b6638ae325.zip |
Add ice_isFixed - Close #356
Diffstat (limited to 'csharp/src/Ice/Proxy.cs')
-rw-r--r-- | csharp/src/Ice/Proxy.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/csharp/src/Ice/Proxy.cs b/csharp/src/Ice/Proxy.cs index 1de18d13ce5..8c8fd09b1d6 100644 --- a/csharp/src/Ice/Proxy.cs +++ b/csharp/src/Ice/Proxy.cs @@ -706,6 +706,13 @@ namespace Ice ObjectPrx ice_fixed(Ice.Connection connection); /// <summary> + /// Returns whether this proxy is a fixed proxy. + /// </summary> + /// <returns>True if this is a fixed proxy, false otherwise. + /// </returns> + bool ice_isFixed(); + + /// <summary> /// Returns the Connection for this proxy. If the proxy does not yet have an established connection, /// it first attempts to create a connection. /// </summary> @@ -2186,6 +2193,16 @@ namespace Ice } } + /// <summary> + /// Returns whether this proxy is a fixed proxy. + /// </summary> + /// <returns>True if this is a fixed proxy, false otherwise. + /// </returns> + public bool ice_isFixed() + { + return _reference is IceInternal.FixedReference; + } + private class ProxyGetConnectionAsyncCallback : ProxyAsyncResultCompletionCallback<Callback_Object_ice_getConnection> { public ProxyGetConnectionAsyncCallback(ObjectPrxHelperBase proxy, string operation, object cookie, |