summaryrefslogtreecommitdiff
path: root/java/test/Ice/enums/TestIntfI.java
blob: 44d413350ef7a568839bb1c0d2f85874ec30623f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// **********************************************************************
//
// Copyright (c) 2003-2013 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.
//
// **********************************************************************

package test.Ice.enums;

import test.Ice.enums.Test.*;

public final class TestIntfI extends _TestIntfDisp
{
    public ByteEnum
    opByte(ByteEnum b1, ByteEnumHolder b2, Ice.Current current)
    {
        b2.value = b1;
        return b1;
    }

    public ShortEnum
    opShort(ShortEnum s1, ShortEnumHolder s2, Ice.Current current)
    {
        s2.value = s1;
        return s1;
    }

    public IntEnum
    opInt(IntEnum i1, IntEnumHolder i2, Ice.Current current)
    {
        i2.value = i1;
        return i1;
    }

    public SimpleEnum
    opSimple(SimpleEnum s1, SimpleEnumHolder s2, Ice.Current current)
    {
        s2.value = s1;
        return s1;
    }

    public void
    shutdown(Ice.Current current)
    {
        current.adapter.getCommunicator().shutdown();
    }
}