diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-04-25 14:46:33 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-04-25 14:46:33 +0000 |
commit | 9f1ce09c6c0ae5dbf7313e6bff08bbf8a6974db9 (patch) | |
tree | 2f6dd493e5b2c2ec24a59fd244912fc59f3e2d8d /cpp/test/IceGrid/allocation/Server.cpp | |
parent | adding some comments with respect to changes to proxyToString() possibly (diff) | |
download | ice-9f1ce09c6c0ae5dbf7313e6bff08bbf8a6974db9.tar.bz2 ice-9f1ce09c6c0ae5dbf7313e6bff08bbf8a6974db9.tar.xz ice-9f1ce09c6c0ae5dbf7313e6bff08bbf8a6974db9.zip |
More work on object allocation.
Diffstat (limited to 'cpp/test/IceGrid/allocation/Server.cpp')
-rw-r--r-- | cpp/test/IceGrid/allocation/Server.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/test/IceGrid/allocation/Server.cpp b/cpp/test/IceGrid/allocation/Server.cpp index 070ffdee6a2..958ad7e680a 100644 --- a/cpp/test/IceGrid/allocation/Server.cpp +++ b/cpp/test/IceGrid/allocation/Server.cpp @@ -32,8 +32,11 @@ Server::run(int argc, char* argv[]) string name = properties->getProperty("Ice.ProgramName"); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Server"); - Ice::ObjectPtr object = new TestI(adapter, properties); - adapter->add(object, Ice::stringToIdentity(name)); + Ice::ObjectPtr object; + object = new TestI(adapter, properties); + adapter->add(object, Ice::stringToIdentity("allocatable")); + object = new TestI(adapter, properties); + adapter->add(object, Ice::stringToIdentity("nonallocatable")); shutdownOnInterrupt(); try |