From 50c0153ec1b849eb65f28fe14bf15eaf5938af7e Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 1 Jul 2005 09:26:05 +0000 Subject: Removed applicationSynced call, fixed node observer nodeUp method to not include inactive servers. --- cpp/src/IceGrid/Database.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/src/IceGrid/Database.cpp') diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index 75b9a7eab14..16f5e868aef 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -448,6 +448,7 @@ Database::syncApplicationDescriptor(ObserverSessionI* session, const Application { ServerEntrySeq entries; int serial; + ApplicationUpdateDescriptor update; { Lock sync(*this); checkSessionLock(session); @@ -465,6 +466,7 @@ Database::syncApplicationDescriptor(ObserverSessionI* session, const Application { ApplicationDescriptorHelper helper(_communicator, newDesc); helper.instantiate(); + update = helper.diff(p->second); descriptor = helper.getDescriptor(); } catch(const string& msg) @@ -485,7 +487,7 @@ Database::syncApplicationDescriptor(ObserverSessionI* session, const Application // // Notify the observers. // - _registryObserver->applicationSynced(serial, newDesc); + _registryObserver->applicationUpdated(serial, update); if(_traceLevels->application > 0) { -- cgit v1.2.3