diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 13:07:41 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 13:07:41 +0000 |
commit | 197b6de9281b52d0b53c4b3fa3312e371b4469a9 (patch) | |
tree | bae93f8155da0770f5dd45d12ef1160ee99aed54 /cpp/test/Ice/facets/Server.cpp | |
parent | Added identityToString and stringToIdentity to Communicator (diff) | |
download | ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.bz2 ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.xz ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.zip |
Fixed proxy and identity t/from string functions to use string converters
Diffstat (limited to 'cpp/test/Ice/facets/Server.cpp')
-rw-r--r-- | cpp/test/Ice/facets/Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/facets/Server.cpp b/cpp/test/Ice/facets/Server.cpp index 2c624672ef7..fc71f95c9a0 100644 --- a/cpp/test/Ice/facets/Server.cpp +++ b/cpp/test/Ice/facets/Server.cpp @@ -18,12 +18,12 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr d = new DI; - adapter->add(d, Ice::stringToIdentity("d")); - adapter->addFacet(d, Ice::stringToIdentity("d"), "facetABCD"); + adapter->add(d, communicator->stringToIdentity("d")); + adapter->addFacet(d, communicator->stringToIdentity("d"), "facetABCD"); Ice::ObjectPtr f = new FI; - adapter->addFacet(f, Ice::stringToIdentity("d"), "facetEF"); + adapter->addFacet(f, communicator->stringToIdentity("d"), "facetEF"); Ice::ObjectPtr h = new HI(communicator); - adapter->addFacet(h, Ice::stringToIdentity("d"), "facetGH"); + adapter->addFacet(h, communicator->stringToIdentity("d"), "facetGH"); adapter->activate(); communicator->waitForShutdown(); |