diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-23 11:59:44 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-23 11:59:44 +0200 |
commit | d81701ca8182942b7936f9fd84a019b695e9c890 (patch) | |
tree | dc036c9d701fbbe1afad67782bd78572c0f61974 /cs/demo/Ice/nested/NestedI.cs | |
parent | Fixed bug ICE-5543: stringToIdentity bug with escaped escapes (diff) | |
download | ice-d81701ca8182942b7936f9fd84a019b695e9c890.tar.bz2 ice-d81701ca8182942b7936f9fd84a019b695e9c890.tar.xz ice-d81701ca8182942b7936f9fd84a019b695e9c890.zip |
Added support for invocation timeouts and ACM heartbeats
Diffstat (limited to 'cs/demo/Ice/nested/NestedI.cs')
-rw-r--r-- | cs/demo/Ice/nested/NestedI.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cs/demo/Ice/nested/NestedI.cs b/cs/demo/Ice/nested/NestedI.cs index 7804ce8ef79..c2b8588c251 100644 --- a/cs/demo/Ice/nested/NestedI.cs +++ b/cs/demo/Ice/nested/NestedI.cs @@ -21,7 +21,12 @@ class NestedI : NestedDisp_ System.Console.Out.WriteLine("" + level); if(--level > 0) { - proxy.nestedCall(level, _self); + // + // Ensure the invocation times out if the nesting level is too + // high and there are no more threads in the thread pool to + // dispatch the call. + // + ((NestedPrx)proxy.ice_invocationTimeout(5000)).nestedCall(level, _self); } } |