summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/metrics/Server.cs
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
commit883edab4361e58957796f25d5fc55cfb41f0f6ea (patch)
treefc90adc372b66bf0becf4c0912794c64af250a29 /csharp/test/Ice/metrics/Server.cs
parentICE-7242 - Cross test updates (diff)
downloadice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'csharp/test/Ice/metrics/Server.cs')
-rw-r--r--csharp/test/Ice/metrics/Server.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/test/Ice/metrics/Server.cs b/csharp/test/Ice/metrics/Server.cs
index e969f4b8cfa..d76fbd4c8cf 100644
--- a/csharp/test/Ice/metrics/Server.cs
+++ b/csharp/test/Ice/metrics/Server.cs
@@ -22,12 +22,12 @@ public class Server
public static int run(string[] args, Ice.Communicator communicator)
{
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
- adapter.add(new MetricsI(), communicator.stringToIdentity("metrics"));
+ adapter.add(new MetricsI(), Ice.Util.stringToIdentity("metrics"));
adapter.activate();
communicator.getProperties().setProperty("ControllerAdapter.Endpoints", "default -p 12011");
Ice.ObjectAdapter controllerAdapter = communicator.createObjectAdapter("ControllerAdapter");
- controllerAdapter.add(new ControllerI(adapter), communicator.stringToIdentity("controller"));
+ controllerAdapter.add(new ControllerI(adapter), Ice.Util.stringToIdentity("controller"));
controllerAdapter.activate();
communicator.waitForShutdown();