diff options
| author | Alan Conway <aconway@apache.org> | 2009-07-30 18:46:17 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-07-30 18:46:17 +0000 |
| commit | 2a2ad630c4a7afeca560977fa71759389eca42ba (patch) | |
| tree | 7f1400b40545286cb4ff586bf7aadbe72b44f0f0 /cpp/src/qpid/cluster/ConnectionCodec.h | |
| parent | adc8062ac65028c1c3daf07a33b24145200d3e20 (diff) | |
| download | qpid-python-2a2ad630c4a7afeca560977fa71759389eca42ba.tar.gz | |
Set protocol versions correctly in cluster code.
Cluster code was broken by a recent checkin to validate protocol
versions. The cluster was not correctly setting the version on both
sides of a connection.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ConnectionCodec.h')
| -rw-r--r-- | cpp/src/qpid/cluster/ConnectionCodec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/ConnectionCodec.h b/cpp/src/qpid/cluster/ConnectionCodec.h index ea01b7abb9..4ff738b603 100644 --- a/cpp/src/qpid/cluster/ConnectionCodec.h +++ b/cpp/src/qpid/cluster/ConnectionCodec.h @@ -56,7 +56,8 @@ class ConnectionCodec : public sys::ConnectionCodec { sys::ConnectionCodec* create(sys::OutputControl&, const std::string& id); }; - ConnectionCodec(sys::OutputControl& out, const std::string& logId, Cluster& c, bool catchUp, bool isLink); + ConnectionCodec(const framing::ProtocolVersion&, sys::OutputControl& out, + const std::string& logId, Cluster& c, bool catchUp, bool isLink); ~ConnectionCodec(); // ConnectionCodec functions. |
