summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/facets/HI.cs
blob: 854dc23245d1f199771baa47e21e2d928a3d422d (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
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

namespace Ice
{
    namespace facets
    {
        public sealed class HI : Test.HDisp_
        {
            public HI(Ice.Communicator communicator)
            {
                _communicator = communicator;
            }

            public override string callG(Ice.Current current)
            {
                return "G";
            }

            public override string callH(Ice.Current current)
            {
                return "H";
            }

            public override void shutdown(Ice.Current current)
            {
                _communicator.shutdown();
            }

            private Ice.Communicator _communicator;
        }
    }
}