summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Topics.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-04-18 18:31:48 +0200
committerJose <jose@zeroc.com>2014-04-18 18:31:48 +0200
commite7333297345efda9379045495d17aadb571ddd50 (patch)
tree5bfa86a78d29665e1ef50a9575b76114be1145e1 /cpp/src/IceGrid/Topics.cpp
parentFixed replicaGroup test issue (diff)
downloadice-e7333297345efda9379045495d17aadb571ddd50.tar.bz2
ice-e7333297345efda9379045495d17aadb571ddd50.tar.xz
ice-e7333297345efda9379045495d17aadb571ddd50.zip
Fixed (ICE-4858) - Eliminate IceDB
Diffstat (limited to 'cpp/src/IceGrid/Topics.cpp')
-rw-r--r--cpp/src/IceGrid/Topics.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/IceGrid/Topics.cpp b/cpp/src/IceGrid/Topics.cpp
index d5a6460a481..efdc21492c9 100644
--- a/cpp/src/IceGrid/Topics.cpp
+++ b/cpp/src/IceGrid/Topics.cpp
@@ -561,9 +561,9 @@ NodeObserverTopic::initObserver(const Ice::ObjectPrx& obsv)
}
ApplicationObserverTopic::ApplicationObserverTopic(const IceStorm::TopicManagerPrx& topicManager,
- const ApplicationsWrapperPtr& wrapper) :
- ObserverTopic(topicManager, "ApplicationObserver", wrapper->getSerial()),
- _applications(wrapper->getMap())
+ const map<string, ApplicationInfo>& applications, Ice::Long serial) :
+ ObserverTopic(topicManager, "ApplicationObserver", serial),
+ _applications(applications)
{
_publishers = getPublishers<ApplicationObserverPrx>();
}
@@ -726,9 +726,9 @@ ApplicationObserverTopic::initObserver(const Ice::ObjectPrx& obsv)
}
AdapterObserverTopic::AdapterObserverTopic(const IceStorm::TopicManagerPrx& topicManager,
- const AdaptersWrapperPtr& wrapper) :
- ObserverTopic(topicManager, "AdapterObserver", wrapper->getSerial()),
- _adapters(wrapper->getMap())
+ const map<string, AdapterInfo>& adapters, Ice::Long serial) :
+ ObserverTopic(topicManager, "AdapterObserver", serial),
+ _adapters(adapters)
{
_publishers = getPublishers<AdapterObserverPrx>();
}
@@ -854,9 +854,9 @@ AdapterObserverTopic::initObserver(const Ice::ObjectPrx& obsv)
}
ObjectObserverTopic::ObjectObserverTopic(const IceStorm::TopicManagerPrx& topicManager,
- const ObjectsWrapperPtr& wrapper) :
- ObserverTopic(topicManager, "ObjectObserver", wrapper->getSerial()),
- _objects(wrapper->getMap())
+ const map<Ice::Identity, ObjectInfo>& objects, Ice::Long serial) :
+ ObserverTopic(topicManager, "ObjectObserver", serial),
+ _objects(objects)
{
_publishers = getPublishers<ObjectObserverPrx>();
}