summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-04 20:51:53 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-04 20:51:53 +0000
commit19cfeafcaa8d74e597a1a47cdedbf7b71661703d (patch)
treeb9246e3ec619f8cda002f36c0282dc4a9a23aaba /cpp/src/IcePatch/Server.cpp
parentmore IcePatch work (diff)
downloadice-19cfeafcaa8d74e597a1a47cdedbf7b71661703d.tar.bz2
ice-19cfeafcaa8d74e597a1a47cdedbf7b71661703d.tar.xz
ice-19cfeafcaa8d74e597a1a47cdedbf7b71661703d.zip
more IcePatch work
Diffstat (limited to 'cpp/src/IcePatch/Server.cpp')
-rw-r--r--cpp/src/IcePatch/Server.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp
index 1e804670ddd..8f83ba69a04 100644
--- a/cpp/src/IcePatch/Server.cpp
+++ b/cpp/src/IcePatch/Server.cpp
@@ -11,6 +11,7 @@
#include <IceUtil/IceUtil.h>
#include <Ice/Application.h>
#include <IcePatch/FileLocator.h>
+#include <IcePatch/IcePatchI.h>
#include <IcePatch/Util.h>
#ifdef _WIN32
# include <direct.h>
@@ -125,6 +126,12 @@ IcePatch::Server::run(int argc, char* argv[])
ObjectAdapterPtr adapter = communicator()->createObjectAdapterFromProperty("IcePatch", endpointsProperty);
ServantLocatorPtr fileLocator = new FileLocator(adapter);
adapter->addServantLocator(fileLocator, "IcePatch");
+
+ //
+ // Create the "info" Ice Object.
+ //
+ InfoPtr info = new InfoI(adapter);
+ adapter->add(info, pathToIdentity(".icepatch")); // .icepatch is reserved, so lets use this for info identity.
//
// Start the updater if an update period is set.