summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/protocolBridging/Test.ice
blob: 49af93e2c0ae623785b24410a18bbf24b115816d (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
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

#pragma once

[[suppress-warning(reserved-identifier)]]

module ZeroC::Ice::Test::ProtocolBridging
{
    exception MyError
    {
        int number;
    }

    interface TestIntf
    {
        // Simple operations
        int op(int x);
        void opVoid();

        // Operation with both return and out
        int opReturnOut(int x, out string y);

        // Oneway operation
        [oneway] void opOneway(int x);

        // Operation that throws remote exception
        void opMyError();

        // Operation that throws ObjectNotExistException (one of the special
        // ice1 system exceptions)
        void opObjectNotExistException();

        // Operation that returns a new proxy
        TestIntf opNewProxy();

        void shutdown();
    }
}