diff options
Diffstat (limited to 'cpp/test/Glacier2/router/Server.cpp')
-rw-r--r-- | cpp/test/Glacier2/router/Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Glacier2/router/Server.cpp b/cpp/test/Glacier2/router/Server.cpp index b3dbefbfb48..9c0e079c7f4 100644 --- a/cpp/test/Glacier2/router/Server.cpp +++ b/cpp/test/Glacier2/router/Server.cpp @@ -33,10 +33,10 @@ CallbackServer::run(int argc, char* argv[]) { communicator()->getProperties()->setProperty("CallbackAdapter.Endpoints", "tcp -p 12010 -t 10000"); ObjectAdapterPtr adapter = communicator()->createObjectAdapter("CallbackAdapter"); - adapter->add(new CallbackI(), stringToIdentity("c1/callback")); // The test allows "c1" as category. - adapter->add(new CallbackI(), stringToIdentity("c2/callback")); // The test allows "c2" as category. - adapter->add(new CallbackI(), stringToIdentity("c3/callback")); // The test rejects "c3" as category. - adapter->add(new CallbackI(), stringToIdentity("_userid/callback")); // The test allows the prefixed userid. + adapter->add(new CallbackI(), communicator()->stringToIdentity("c1/callback")); // The test allows "c1" as category. + adapter->add(new CallbackI(), communicator()->stringToIdentity("c2/callback")); // The test allows "c2" as category. + adapter->add(new CallbackI(), communicator()->stringToIdentity("c3/callback")); // The test rejects "c3" as category. + adapter->add(new CallbackI(), communicator()->stringToIdentity("_userid/callback")); // The test allows the prefixed userid. adapter->activate(); communicator()->waitForShutdown(); return EXIT_SUCCESS; |