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/src/IcePatch2/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/src/IcePatch2/Server.cpp')
-rw-r--r-- | cpp/src/IcePatch2/Server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp index 61ac9127ef2..1d12361a309 100644 --- a/cpp/src/IcePatch2/Server.cpp +++ b/cpp/src/IcePatch2/Server.cpp @@ -166,7 +166,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[]) { idStr = instanceName + "/server"; } - Identity id = stringToIdentity(idStr); + Identity id = communicator()->stringToIdentity(idStr); adapter->add(new FileServerI(dataDir, infoSeq), id); if(adminAdapter) @@ -177,7 +177,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[]) { adminIdStr = instanceName + "/admin"; } - Identity adminId = stringToIdentity(adminIdStr); + Identity adminId = communicator()->stringToIdentity(adminIdStr); adminAdapter->add(new AdminI(communicator()), adminId); } |