diff options
author | Alan Conway <aconway@apache.org> | 2010-07-14 21:33:09 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-07-14 21:33:09 +0000 |
commit | 3673fea4a6bf99f9948fd7baf43a4c30b77f4871 (patch) | |
tree | 7b1276bb31a1dfd19e7d4b77e5cc28116439bef2 /cpp/src/qpid/client/ConnectionImpl.h | |
parent | ef6a1528f91c34c0cc9838ad6f5ec39473fbbdb3 (diff) | |
download | qpid-python-3673fea4a6bf99f9948fd7baf43a4c30b77f4871.tar.gz |
Fix read-credit bug causing cluster brokers to disconnect clients sporadically.
Also added connection identifier in connection log messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ConnectionImpl.h')
-rw-r--r-- | cpp/src/qpid/client/ConnectionImpl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ConnectionImpl.h b/cpp/src/qpid/client/ConnectionImpl.h index 57d874b555..cc81500b18 100644 --- a/cpp/src/qpid/client/ConnectionImpl.h +++ b/cpp/src/qpid/client/ConnectionImpl.h @@ -31,6 +31,7 @@ #include "qpid/sys/TimeoutHandler.h" #include <map> +#include <iosfwd> #include <boost/shared_ptr.hpp> #include <boost/weak_ptr.hpp> #include <boost/scoped_ptr.hpp> @@ -95,8 +96,9 @@ class ConnectionImpl : public Bounds, std::vector<Url> getInitialBrokers(); void registerFailureCallback ( boost::function<void ()> fn ) { failureCallback = fn; } - framing::ProtocolVersion getVersion() { return version; } + + friend std::ostream& operator<<(std::ostream&, const ConnectionImpl&); }; }} |