diff options
author | Gordon Sim <gsim@apache.org> | 2009-01-22 22:53:50 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-01-22 22:53:50 +0000 |
commit | d7ce27f7cc96894f149e5c20c03b306b80636727 (patch) | |
tree | 22caa566993da19f9e211f69fdca64c13f1f04e6 /cpp/src/qpid/cluster/Connection.h | |
parent | 74481dd2b6b97374bd4f260ca89d9103ce6383ed (diff) | |
download | qpid-python-d7ce27f7cc96894f149e5c20c03b306b80636727.tar.gz |
QPID-1567: More changes to make clustering and federation work together
* replicate outgoing link traffic to all nodes
* coordinate amongst nodes so that only one node actually maintains active links
with the others able to take over if that node fails
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736841 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r-- | cpp/src/qpid/cluster/Connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h index ec46d62cc2..5d46b7e81d 100644 --- a/cpp/src/qpid/cluster/Connection.h +++ b/cpp/src/qpid/cluster/Connection.h @@ -64,7 +64,7 @@ class Connection : typedef sys::PollableQueue<EventFrame> EventFrameQueue; /** Local connection, use this in ConnectionId */ - Connection(Cluster&, sys::ConnectionOutputHandler& out, const std::string& id, MemberId, bool catchUp); + Connection(Cluster&, sys::ConnectionOutputHandler& out, const std::string& id, MemberId, bool catchUp, bool isLink); /** Shadow connection */ Connection(Cluster&, sys::ConnectionOutputHandler& out, const std::string& id, ConnectionId); ~Connection(); @@ -172,6 +172,7 @@ class Connection : framing::ChannelId currentChannel; boost::shared_ptr<broker::TxBuffer> txBuffer; int readCredit; + bool expectProtocolHeader; friend std::ostream& operator<<(std::ostream&, const Connection&); }; |