diff options
Diffstat (limited to 'cpp/src/IceGrid/NodeSessionI.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeSessionI.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/cpp/src/IceGrid/NodeSessionI.cpp b/cpp/src/IceGrid/NodeSessionI.cpp index 838158e8719..98eaa052aee 100644 --- a/cpp/src/IceGrid/NodeSessionI.cpp +++ b/cpp/src/IceGrid/NodeSessionI.cpp @@ -14,10 +14,8 @@ using namespace std; using namespace IceGrid; -NodeSessionI::NodeSessionI(const DatabasePtr& database, const RegistryObserverPrx& observer, const string& name, - const NodePrx& node) : +NodeSessionI::NodeSessionI(const DatabasePtr& database, const string& name, const NodePrx& node) : _database(database), - _observer(observer), _name(name), _node(node), _startTime(IceUtil::Time::now()), @@ -28,16 +26,6 @@ NodeSessionI::NodeSessionI(const DatabasePtr& database, const RegistryObserverPr try { _database->addNode(name, this); - - try - { - _observer->nodeUp(_name); - } - catch(const Ice::LocalException& ex) - { - // TODO: Log a warning? - cerr << ex << endl; - } } catch(...) { @@ -80,15 +68,6 @@ NodeSessionI::destroy(const Ice::Current& current) try { - _observer->nodeDown(_name); - } - catch(const Ice::LocalException&) - { - // TODO: Log a warning? - } - - try - { current.adapter->remove(current.id); } catch(const Ice::ObjectAdapterDeactivatedException&) |