summaryrefslogtreecommitdiff
path: root/cpp/demo
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-09-25 15:54:24 +0200
committerBenoit Foucher <benoit@zeroc.com>2007-09-25 15:54:24 +0200
commitcba1f253507a5bd1119cb33dc379b8e05ee77d7c (patch)
treea5cc5a5a3f917000c800b1886775158c8b0ff376 /cpp/demo
parentChanged IceUtil::Timer::schedule() to use a delay (diff)
downloadice-cba1f253507a5bd1119cb33dc379b8e05ee77d7c.tar.bz2
ice-cba1f253507a5bd1119cb33dc379b8e05ee77d7c.tar.xz
ice-cba1f253507a5bd1119cb33dc379b8e05ee77d7c.zip
Fixed bug 2485
Diffstat (limited to 'cpp/demo')
-rw-r--r--cpp/demo/IceGrid/allocate/Server.cpp2
-rw-r--r--cpp/demo/IceGrid/replication/Server.cpp2
-rw-r--r--cpp/demo/IceGrid/sessionActivation/Server.cpp2
-rw-r--r--cpp/demo/IceGrid/simple/Server.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/IceGrid/allocate/Server.cpp b/cpp/demo/IceGrid/allocate/Server.cpp
index a2a578e2b5e..e18c25aa933 100644
--- a/cpp/demo/IceGrid/allocate/Server.cpp
+++ b/cpp/demo/IceGrid/allocate/Server.cpp
@@ -40,7 +40,7 @@ Server::run(int argc, char* argv[])
Ice::PropertiesPtr properties = communicator()->getProperties();
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Hello");
Ice::Identity id = communicator()->stringToIdentity(properties->getProperty("Identity"));
- adapter->add(new HelloI(properties->getProperty("Ice.ServerId")), id);
+ adapter->add(new HelloI(properties->getProperty("Ice.ProgramName")), id);
adapter->activate();
communicator()->waitForShutdown();
return EXIT_SUCCESS;
diff --git a/cpp/demo/IceGrid/replication/Server.cpp b/cpp/demo/IceGrid/replication/Server.cpp
index a2a578e2b5e..e18c25aa933 100644
--- a/cpp/demo/IceGrid/replication/Server.cpp
+++ b/cpp/demo/IceGrid/replication/Server.cpp
@@ -40,7 +40,7 @@ Server::run(int argc, char* argv[])
Ice::PropertiesPtr properties = communicator()->getProperties();
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Hello");
Ice::Identity id = communicator()->stringToIdentity(properties->getProperty("Identity"));
- adapter->add(new HelloI(properties->getProperty("Ice.ServerId")), id);
+ adapter->add(new HelloI(properties->getProperty("Ice.ProgramName")), id);
adapter->activate();
communicator()->waitForShutdown();
return EXIT_SUCCESS;
diff --git a/cpp/demo/IceGrid/sessionActivation/Server.cpp b/cpp/demo/IceGrid/sessionActivation/Server.cpp
index a2a578e2b5e..e18c25aa933 100644
--- a/cpp/demo/IceGrid/sessionActivation/Server.cpp
+++ b/cpp/demo/IceGrid/sessionActivation/Server.cpp
@@ -40,7 +40,7 @@ Server::run(int argc, char* argv[])
Ice::PropertiesPtr properties = communicator()->getProperties();
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Hello");
Ice::Identity id = communicator()->stringToIdentity(properties->getProperty("Identity"));
- adapter->add(new HelloI(properties->getProperty("Ice.ServerId")), id);
+ adapter->add(new HelloI(properties->getProperty("Ice.ProgramName")), id);
adapter->activate();
communicator()->waitForShutdown();
return EXIT_SUCCESS;
diff --git a/cpp/demo/IceGrid/simple/Server.cpp b/cpp/demo/IceGrid/simple/Server.cpp
index a2a578e2b5e..e18c25aa933 100644
--- a/cpp/demo/IceGrid/simple/Server.cpp
+++ b/cpp/demo/IceGrid/simple/Server.cpp
@@ -40,7 +40,7 @@ Server::run(int argc, char* argv[])
Ice::PropertiesPtr properties = communicator()->getProperties();
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Hello");
Ice::Identity id = communicator()->stringToIdentity(properties->getProperty("Identity"));
- adapter->add(new HelloI(properties->getProperty("Ice.ServerId")), id);
+ adapter->add(new HelloI(properties->getProperty("Ice.ProgramName")), id);
adapter->activate();
communicator()->waitForShutdown();
return EXIT_SUCCESS;