summaryrefslogtreecommitdiff
path: root/csharp/test/IceBox/configuration/TestServiceI.cs
blob: 3d62a96da0e654b3cc9288dec69efbebce2af5d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

using IceBox;

class TestServiceI : IceBox.Service
{
    public void
    start(string name, Ice.Communicator communicator, string[] args)
    {
        Ice.ObjectAdapter adapter = communicator.createObjectAdapter(name + "OA");
        adapter.add(new TestI(args), Ice.Util.stringToIdentity("test"));
        adapter.activate();
    }

    public void
    stop()
    {
    }
}