diff options
Diffstat (limited to 'csharp/test/Glacier2/router/Server.cs')
-rw-r--r-- | csharp/test/Glacier2/router/Server.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/test/Glacier2/router/Server.cs b/csharp/test/Glacier2/router/Server.cs index 78312e1fbcf..4f8ae5a9e1c 100644 --- a/csharp/test/Glacier2/router/Server.cs +++ b/csharp/test/Glacier2/router/Server.cs @@ -26,13 +26,13 @@ public class Server communicator().getProperties().setProperty("CallbackAdapter.Endpoints", "tcp -p 12010"); Ice.ObjectAdapter adapter = communicator().createObjectAdapter("CallbackAdapter"); adapter.add(new CallbackI(), - communicator().stringToIdentity("c1/callback")); // The test allows "c1" as category. + Ice.Util.stringToIdentity("c1/callback")); // The test allows "c1" as category. adapter.add(new CallbackI(), - communicator().stringToIdentity("c2/callback")); // The test allows "c2" as category. + Ice.Util.stringToIdentity("c2/callback")); // The test allows "c2" as category. adapter.add(new CallbackI(), - communicator().stringToIdentity("c3/callback")); // The test rejects "c3" as category. + Ice.Util.stringToIdentity("c3/callback")); // The test rejects "c3" as category. adapter.add(new CallbackI(), - communicator().stringToIdentity("_userid/callback")); // The test allows the prefixed userid. + Ice.Util.stringToIdentity("_userid/callback")); // The test allows the prefixed userid. adapter.activate(); communicator().waitForShutdown(); return 0; |