summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/PreviewConnectionCodec.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-03-26 12:14:18 +0000
committerGordon Sim <gsim@apache.org>2008-03-26 12:14:18 +0000
commit9222ac0989bffebe53706255314fa4c577d2b6d8 (patch)
tree7b71d235c5c67fbe9c6d1e1c496194d52ce42102 /cpp/src/qpid/broker/PreviewConnectionCodec.cpp
parent7cc09e96c680aa54c9d988844604f4fa7328c770 (diff)
downloadqpid-python-9222ac0989bffebe53706255314fa4c577d2b6d8.tar.gz
Re-enable the establishment of inter-broker links.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641281 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/PreviewConnectionCodec.cpp')
-rw-r--r--cpp/src/qpid/broker/PreviewConnectionCodec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/PreviewConnectionCodec.cpp b/cpp/src/qpid/broker/PreviewConnectionCodec.cpp
index 81ec7f7076..d3a5281109 100644
--- a/cpp/src/qpid/broker/PreviewConnectionCodec.cpp
+++ b/cpp/src/qpid/broker/PreviewConnectionCodec.cpp
@@ -26,8 +26,8 @@ namespace broker {
using sys::Mutex;
-PreviewConnectionCodec::PreviewConnectionCodec(sys::OutputControl& o, Broker& broker, const std::string& id)
- : frameQueueClosed(false), output(o), connection(this, broker, id), identifier(id) {}
+PreviewConnectionCodec::PreviewConnectionCodec(sys::OutputControl& o, Broker& broker, const std::string& id, bool isClient)
+ : frameQueueClosed(false), output(o), connection(this, broker, id, isClient), identifier(id) {}
size_t PreviewConnectionCodec::decode(const char* buffer, size_t size) {
framing::Buffer in(const_cast<char*>(buffer), size);