summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/Subscriber.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-07-28 17:31:30 +0000
committerMark Spruiell <mes@zeroc.com>2004-07-28 17:31:30 +0000
commit93786c97eb7d24571f1f6aac8cb6ca6a662e1423 (patch)
treef3295af2540030368474d9375571c187c4dccb1b /cpp/src/IceStorm/Subscriber.h
parentRemoved Version.cs from Windows projects. Updated CHANGES to mention (diff)
downloadice-93786c97eb7d24571f1f6aac8cb6ca6a662e1423.tar.bz2
ice-93786c97eb7d24571f1f6aac8cb6ca6a662e1423.tar.xz
ice-93786c97eb7d24571f1f6aac8cb6ca6a662e1423.zip
Fixed a bug that caused a subscriber to no longer receive events after
unsubscribing and resubscribing to the same topic.
Diffstat (limited to 'cpp/src/IceStorm/Subscriber.h')
-rw-r--r--cpp/src/IceStorm/Subscriber.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceStorm/Subscriber.h b/cpp/src/IceStorm/Subscriber.h
index 1116330b763..f1c2421c0d5 100644
--- a/cpp/src/IceStorm/Subscriber.h
+++ b/cpp/src/IceStorm/Subscriber.h
@@ -54,6 +54,12 @@ public:
Ice::Identity id() const;
//
+ // Activate. Called after any other subscribers with the same
+ // identity have been deactivated.
+ //
+ virtual void activate() = 0;
+
+ //
// Unsubscribe. Mark the state as Unsubscribed.
//
virtual void unsubscribe() = 0;