summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/udp/Server.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/udp/Server.cs')
-rw-r--r--csharp/test/Ice/udp/Server.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/test/Ice/udp/Server.cs b/csharp/test/Ice/udp/Server.cs
index 49886019a36..e43620fcaee 100644
--- a/csharp/test/Ice/udp/Server.cs
+++ b/csharp/test/Ice/udp/Server.cs
@@ -32,14 +32,14 @@ public class Server
}
properties.setProperty("ControlAdapter.Endpoints", "tcp -p " + port);
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("ControlAdapter");
- adapter.add(new TestIntfI(), communicator.stringToIdentity("control"));
+ adapter.add(new TestIntfI(), Ice.Util.stringToIdentity("control"));
adapter.activate();
if(port == 12010)
{
properties.setProperty("TestAdapter.Endpoints", "udp -p 12010");
Ice.ObjectAdapter adapter2 = communicator.createObjectAdapter("TestAdapter");
- adapter2.add(new TestIntfI(), communicator.stringToIdentity("test"));
+ adapter2.add(new TestIntfI(), Ice.Util.stringToIdentity("test"));
adapter2.activate();
}
@@ -61,7 +61,7 @@ public class Server
}
properties.setProperty("McastTestAdapter.Endpoints", endpoint);
Ice.ObjectAdapter mcastAdapter = communicator.createObjectAdapter("McastTestAdapter");
- mcastAdapter.add(new TestIntfI(), communicator.stringToIdentity("test"));
+ mcastAdapter.add(new TestIntfI(), Ice.Util.stringToIdentity("test"));
mcastAdapter.activate();
communicator.waitForShutdown();