summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/Subscriber.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-10-26 03:50:00 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-10-26 03:50:00 +0000
commit12203029a37a8145599d368359710469b29f0318 (patch)
treed95dcc0d7c312f60e6c686a244e00a1436236ba8 /cpp/src/IceStorm/Subscriber.h
parentfix for missing ICE_HOME (diff)
downloadice-12203029a37a8145599d368359710469b29f0318.tar.bz2
ice-12203029a37a8145599d368359710469b29f0318.tar.xz
ice-12203029a37a8145599d368359710469b29f0318.zip
Renamed IceStorm::subscribe to IceStorm::Topic::subscribeAndGetPublisher.
Integrated the upstream ping stuff. Updated CHANGES file.
Diffstat (limited to 'cpp/src/IceStorm/Subscriber.h')
-rw-r--r--cpp/src/IceStorm/Subscriber.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/cpp/src/IceStorm/Subscriber.h b/cpp/src/IceStorm/Subscriber.h
index 510a43752dd..d35da04cc07 100644
--- a/cpp/src/IceStorm/Subscriber.h
+++ b/cpp/src/IceStorm/Subscriber.h
@@ -80,6 +80,11 @@ public:
virtual void replace();
//
+ // Mark the state as reachable.
+ //
+ virtual void reachable() = 0;
+
+ //
// Publish the given event. Mark the state as Error in the event of
// a problem.
//
@@ -114,7 +119,11 @@ protected:
//
// The Subscriber has been replaced.
//
- StateReplaced
+ StateReplaced,
+ //
+ // The Subscriber is no longer reachable.
+ //
+ StateUnreachable
};
IceUtil::Mutex _stateMutex;