diff options
Diffstat (limited to 'csharp/test/Ice/location/Server.cs')
-rw-r--r-- | csharp/test/Ice/location/Server.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/test/Ice/location/Server.cs b/csharp/test/Ice/location/Server.cs index 279acfb5192..902f536f7f5 100644 --- a/csharp/test/Ice/location/Server.cs +++ b/csharp/test/Ice/location/Server.cs @@ -39,13 +39,13 @@ public class Server // ServerLocatorRegistry registry = new ServerLocatorRegistry(); Ice.Object @object = new ServerManagerI(registry, initData); - adapter.add(@object, communicator.stringToIdentity("ServerManager")); - registry.addObject(adapter.createProxy(communicator.stringToIdentity("ServerManager"))); + adapter.add(@object, Ice.Util.stringToIdentity("ServerManager")); + registry.addObject(adapter.createProxy(Ice.Util.stringToIdentity("ServerManager"))); Ice.LocatorRegistryPrx registryPrx = Ice.LocatorRegistryPrxHelper.uncheckedCast( - adapter.add(registry, communicator.stringToIdentity("registry"))); + adapter.add(registry, Ice.Util.stringToIdentity("registry"))); ServerLocator locator = new ServerLocator(registry, registryPrx); - adapter.add(locator, communicator.stringToIdentity("locator")); + adapter.add(locator, Ice.Util.stringToIdentity("locator")); adapter.activate(); communicator.waitForShutdown(); |