1 // **********************************************************************
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
8 // **********************************************************************
10 #ifndef SERVERPRIVATE_AMD_ICE
11 #define SERVERPRIVATE_AMD_ICE
13 [["java:package:test.Ice.slicing.exceptions.serverAMD"]]
17 // Duplicate types from Test.ice. We cannot use #include since
18 // that will use the types from the same prefix.
24 exception KnownDerived extends Base
29 exception KnownIntermediate extends Base
34 exception KnownMostDerived extends KnownIntermediate
39 ["amd"] interface TestIntf
41 void baseAsBase() throws Base;
42 void unknownDerivedAsBase() throws Base;
43 void knownDerivedAsBase() throws Base;
44 void knownDerivedAsKnownDerived() throws KnownDerived;
46 void unknownIntermediateAsBase() throws Base;
47 void knownIntermediateAsBase() throws Base;
48 void knownMostDerivedAsBase() throws Base;
49 void knownIntermediateAsKnownIntermediate() throws KnownIntermediate;
50 void knownMostDerivedAsKnownIntermediate() throws KnownIntermediate;
51 void knownMostDerivedAsKnownMostDerived() throws KnownMostDerived;
53 void unknownMostDerived1AsBase() throws Base;
54 void unknownMostDerived1AsKnownIntermediate() throws KnownIntermediate;
55 void unknownMostDerived2AsBase() throws Base;
60 // Additional server specific types (used for testing slicing).
62 exception UnknownDerived extends Base
67 exception UnknownIntermediate extends Base
72 exception UnknownMostDerived1 extends KnownIntermediate
77 exception UnknownMostDerived2 extends UnknownIntermediate