summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/facets/Server.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-09 13:07:41 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-09 13:07:41 +0000
commit197b6de9281b52d0b53c4b3fa3312e371b4469a9 (patch)
treebae93f8155da0770f5dd45d12ef1160ee99aed54 /cpp/test/Ice/facets/Server.cpp
parentAdded identityToString and stringToIdentity to Communicator (diff)
downloadice-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.cpp8
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();