diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-02-25 16:49:12 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-02-25 16:49:12 +0100 |
commit | 1d9fbeaa07f2c1a1e657197a65ec158cb1779ccc (patch) | |
tree | c227933846718c54786c05ffd51c8b8b384f8ebe /cpp/src/IceGrid/IceGridNode.cpp | |
parent | Fixed GCC 4.3 build failures (diff) | |
download | ice-1d9fbeaa07f2c1a1e657197a65ec158cb1779ccc.tar.bz2 ice-1d9fbeaa07f2c1a1e657197a65ec158cb1779ccc.tar.xz ice-1d9fbeaa07f2c1a1e657197a65ec158cb1779ccc.zip |
Changed the IceGrid node to be more conservative when removing server directories
Diffstat (limited to 'cpp/src/IceGrid/IceGridNode.cpp')
-rw-r--r-- | cpp/src/IceGrid/IceGridNode.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceGrid/IceGridNode.cpp b/cpp/src/IceGrid/IceGridNode.cpp index 9f997d2b577..c8ee67a6d18 100644 --- a/cpp/src/IceGrid/IceGridNode.cpp +++ b/cpp/src/IceGrid/IceGridNode.cpp @@ -97,7 +97,7 @@ class CollocatedRegistry : public RegistryI { public: - CollocatedRegistry(const CommunicatorPtr&, const ActivatorPtr&); + CollocatedRegistry(const CommunicatorPtr&, const ActivatorPtr&, bool); virtual void shutdown(); private: @@ -135,8 +135,8 @@ private: } -CollocatedRegistry::CollocatedRegistry(const CommunicatorPtr& communicator, const ActivatorPtr& activator) : - RegistryI(communicator, new TraceLevels(communicator, "IceGrid.Registry")), +CollocatedRegistry::CollocatedRegistry(const CommunicatorPtr& com, const ActivatorPtr& activator, bool nowarn) : + RegistryI(com, new TraceLevels(com, "IceGrid.Registry"), nowarn), _activator(activator) { } @@ -300,8 +300,8 @@ NodeService::start(int argc, char* argv[]) // if(properties->getPropertyAsInt("IceGrid.Node.CollocateRegistry") > 0) { - _registry = new CollocatedRegistry(communicator(), _activator); - if(!_registry->start(nowarn)) + _registry = new CollocatedRegistry(communicator(), _activator, nowarn); + if(!_registry->start()) { return false; } |