diff options
author | Alan Conway <aconway@apache.org> | 2009-02-09 22:25:26 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-02-09 22:25:26 +0000 |
commit | 3a60db0672b78a75c52f39f5cefeeb00d3eeba97 (patch) | |
tree | 3f9c211e3649a3ef8a883e95d741387cf402dd17 /cpp/src/qpid/cluster/UpdateClient.h | |
parent | c9a654925355a4dd128d5111af862e8be89e0a45 (diff) | |
download | qpid-python-3a60db0672b78a75c52f39f5cefeeb00d3eeba97.tar.gz |
Cluster support for message time-to-live.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742774 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/UpdateClient.h')
-rw-r--r-- | cpp/src/qpid/cluster/UpdateClient.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.h b/cpp/src/qpid/cluster/UpdateClient.h index 93dca9f0c6..0819eb4cdb 100644 --- a/cpp/src/qpid/cluster/UpdateClient.h +++ b/cpp/src/qpid/cluster/UpdateClient.h @@ -63,9 +63,10 @@ class UpdateClient : public sys::Runnable { static const std::string UPDATE; // Name for special update queue and exchange. UpdateClient(const MemberId& updater, const MemberId& updatee, const Url&, - broker::Broker& donor, const ClusterMap& map, const std::vector<boost::intrusive_ptr<Connection> >& , - const boost::function<void()>& done, - const boost::function<void(const std::exception&)>& fail); + broker::Broker& donor, const ClusterMap& map, uint64_t sequence, + const std::vector<boost::intrusive_ptr<Connection> >& , + const boost::function<void()>& done, + const boost::function<void(const std::exception&)>& fail); ~UpdateClient(); void update(); @@ -89,6 +90,7 @@ class UpdateClient : public sys::Runnable { Url updateeUrl; broker::Broker& updaterBroker; ClusterMap map; + uint64_t frameId; std::vector<boost::intrusive_ptr<Connection> > connections; client::Connection connection, shadowConnection; client::AsyncSession session, shadowSession; |