diff options
author | Matthew Newhook <matthew@zeroc.com> | 2006-10-26 03:50:00 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2006-10-26 03:50:00 +0000 |
commit | 12203029a37a8145599d368359710469b29f0318 (patch) | |
tree | d95dcc0d7c312f60e6c686a244e00a1436236ba8 /cpp/src/IceStorm/Subscriber.h | |
parent | fix for missing ICE_HOME (diff) | |
download | ice-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.h | 11 |
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; |