summaryrefslogtreecommitdiff
path: root/csharp/test/IceBox/configuration/TestServiceI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/IceBox/configuration/TestServiceI.cs')
-rw-r--r--csharp/test/IceBox/configuration/TestServiceI.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/csharp/test/IceBox/configuration/TestServiceI.cs b/csharp/test/IceBox/configuration/TestServiceI.cs
new file mode 100644
index 00000000000..8892272f79f
--- /dev/null
+++ b/csharp/test/IceBox/configuration/TestServiceI.cs
@@ -0,0 +1,26 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2015 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.
+//
+// **********************************************************************
+
+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), communicator.stringToIdentity("test"));
+ adapter.activate();
+ }
+
+ public void
+ stop()
+ {
+ }
+}