summaryrefslogtreecommitdiff
path: root/cs/demo/Ice/nested/NestedI.cs
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-04-06 04:18:57 +0000
committerMichi Henning <michi@zeroc.com>2004-04-06 04:18:57 +0000
commitd9e2e249b341af03f3110152f3bf1d988b1965cb (patch)
tree75a1b68a55bd8883bb3136a2d266c0bbb7d14fcd /cs/demo/Ice/nested/NestedI.cs
parentfixed retry on RequestFailedException (diff)
downloadice-d9e2e249b341af03f3110152f3bf1d988b1965cb.tar.bz2
ice-d9e2e249b341af03f3110152f3bf1d988b1965cb.tar.xz
ice-d9e2e249b341af03f3110152f3bf1d988b1965cb.zip
Added and debugged more demos.
Diffstat (limited to 'cs/demo/Ice/nested/NestedI.cs')
-rwxr-xr-xcs/demo/Ice/nested/NestedI.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/cs/demo/Ice/nested/NestedI.cs b/cs/demo/Ice/nested/NestedI.cs
new file mode 100755
index 00000000000..c9e0a957aa2
--- /dev/null
+++ b/cs/demo/Ice/nested/NestedI.cs
@@ -0,0 +1,32 @@
+// **********************************************************************
+//
+// Copyright (c) 2003
+// ZeroC, Inc.
+// Billerica, MA, USA
+//
+// All Rights Reserved.
+//
+// Ice is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation.
+//
+// **********************************************************************
+
+class NestedI : Nested
+{
+ internal NestedI(NestedPrx self)
+ {
+ _self = self;
+ }
+
+ public override void nestedCall(int level, NestedPrx proxy, Ice.Current current)
+ {
+ System.Console.Out.WriteLine("" + level);
+ if(--level > 0)
+ {
+ proxy.nestedCall(level, _self, current.ctx);
+ }
+ }
+
+ private NestedPrx _self;
+}