diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-07-27 19:30:37 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-07-27 19:30:37 -0400 |
commit | 883edab4361e58957796f25d5fc55cfb41f0f6ea (patch) | |
tree | fc90adc372b66bf0becf4c0912794c64af250a29 /csharp/test/Ice/background/Server.cs | |
parent | ICE-7242 - Cross test updates (diff) | |
download | ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2 ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip |
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'csharp/test/Ice/background/Server.cs')
-rw-r--r-- | csharp/test/Ice/background/Server.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/csharp/test/Ice/background/Server.cs b/csharp/test/Ice/background/Server.cs index fa302ba146d..0ced20a0176 100644 --- a/csharp/test/Ice/background/Server.cs +++ b/csharp/test/Ice/background/Server.cs @@ -27,7 +27,7 @@ public class Server { _controller.checkCallPause(current); Ice.Communicator communicator = current.adapter.getCommunicator(); - response(current.adapter.createDirectProxy(communicator.stringToIdentity("dummy"))); + response(current.adapter.createDirectProxy(Ice.Util.stringToIdentity("dummy"))); } public override void @@ -100,12 +100,12 @@ public class Server BackgroundControllerI backgroundController = new BackgroundControllerI(adapter); - adapter.add(new BackgroundI(backgroundController), communicator.stringToIdentity("background")); - adapter.add(new LocatorI(backgroundController), communicator.stringToIdentity("locator")); - adapter.add(new RouterI(backgroundController), communicator.stringToIdentity("router")); + adapter.add(new BackgroundI(backgroundController), Ice.Util.stringToIdentity("background")); + adapter.add(new LocatorI(backgroundController), Ice.Util.stringToIdentity("locator")); + adapter.add(new RouterI(backgroundController), Ice.Util.stringToIdentity("router")); adapter.activate(); - adapter2.add(backgroundController, communicator.stringToIdentity("backgroundController")); + adapter2.add(backgroundController, Ice.Util.stringToIdentity("backgroundController")); adapter2.activate(); communicator.waitForShutdown(); |