From 6f46bb760b30ef883b386dfa8e695c8d5004f05f Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 6 Sep 2006 15:39:41 +0000 Subject: The master now waits for the replicas to be updated before to return. Added support for dynamic registration of adapters in the replicas. --- cpp/src/IceGrid/Topics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/src/IceGrid/Topics.h') diff --git a/cpp/src/IceGrid/Topics.h b/cpp/src/IceGrid/Topics.h index d4c62e4805a..e17f3c9a438 100644 --- a/cpp/src/IceGrid/Topics.h +++ b/cpp/src/IceGrid/Topics.h @@ -37,6 +37,7 @@ public: virtual ~ObserverTopic(); void subscribe(const Ice::ObjectPrx&, int = -1); + void subscribeAndWaitForSubscription(const Ice::ObjectPrx&); void unsubscribe(const Ice::ObjectPrx&); void destroy(); @@ -46,9 +47,11 @@ protected: void subscribeImpl(const Ice::ObjectPrx&); void updateSerial(int); + Ice::Context getContext(const std::string&, int) const; IceStorm::TopicPrx _topic; Ice::ObjectPrx _basePublisher; + std::set _waitForSubscribe; int _serial; }; typedef IceUtil::Handle ObserverTopicPtr; -- cgit v1.2.3