summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-10-16 17:56:43 +0000
committerMarc Laukien <marc@zeroc.com>2003-10-16 17:56:43 +0000
commita60420c1e7c51bbad2974da1be066f219a74e552 (patch)
tree63e4f90f043ca8498ab97834506881e692359dfc /cpp/demo/Freeze/library/Server.cpp
parent*** empty log message *** (diff)
downloadice-a60420c1e7c51bbad2974da1be066f219a74e552.tar.bz2
ice-a60420c1e7c51bbad2974da1be066f219a74e552.tar.xz
ice-a60420c1e7c51bbad2974da1be066f219a74e552.zip
minor
Diffstat (limited to 'cpp/demo/Freeze/library/Server.cpp')
-rw-r--r--cpp/demo/Freeze/library/Server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/Freeze/library/Server.cpp b/cpp/demo/Freeze/library/Server.cpp
index b828c4e4454..f9d31b63951 100644
--- a/cpp/demo/Freeze/library/Server.cpp
+++ b/cpp/demo/Freeze/library/Server.cpp
@@ -49,7 +49,7 @@ LibraryServer::run(int argc, char* argv[])
PropertiesPtr properties = communicator()->getProperties();
//
- // Create an Evictor for books.
+ // Create an evictor for books.
//
Freeze::EvictorPtr evictor = Freeze::createEvictor(communicator(), _envName, "books");
@@ -60,19 +60,19 @@ LibraryServer::run(int argc, char* argv[])
}
//
- // Create an Object Adapter, use the Evictor as Servant Locator.
+ // Create an object adapter, use the evictor as servant Locator.
//
ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Library");
adapter->addServantLocator(evictor, "book");
//
- // Create the library, and add it to the Object Adapter.
+ // Create the library, and add it to the object adapter.
//
LibraryIPtr library = new LibraryI(communicator(), _envName, "authors", evictor);
adapter->add(library, stringToIdentity("library"));
//
- // Create and install a factory and initializer for books.
+ // Create and install a factory for books.
//
ObjectFactoryPtr bookFactory = new BookFactory(library);
communicator()->addObjectFactory(bookFactory, "::Book");