diff options
Diffstat (limited to 'java/demo/Ice/nested/NestedI.java')
-rw-r--r-- | java/demo/Ice/nested/NestedI.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/java/demo/Ice/nested/NestedI.java b/java/demo/Ice/nested/NestedI.java new file mode 100644 index 00000000000..4059f930531 --- /dev/null +++ b/java/demo/Ice/nested/NestedI.java @@ -0,0 +1,30 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +import Demo.*; + +class NestedI extends _NestedDisp +{ + NestedI(NestedPrx self) + { + _self = self; + } + + public void + nestedCall(int level, NestedPrx proxy, Ice.Current current) + { + System.out.println("" + level); + if(--level > 0) + { + proxy.nestedCall(level, _self); + } + } + + private NestedPrx _self; +} |