diff options
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index 9e763f6775..f6d35ff6ca 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -53,7 +53,9 @@ Connection::Connection(ConnectionOutputHandler* out_, Broker& broker_, const std isLink(isLink_), mgmtClosing(false), mgmtId(mgmtId_), - links(broker_.getLinks()) + links(broker_.getLinks()), + lastInHandler(*this), + inChain(lastInHandler) { Manageable* parent = broker.GetVhostObject(); @@ -86,7 +88,9 @@ Connection::~Connection() links.notifyClosed(mgmtId); } -void Connection::received(framing::AMQFrame& frame){ +void Connection::received(framing::AMQFrame& frame){ inChain(frame); } + +void Connection::receivedLast(framing::AMQFrame& frame){ if (frame.getChannel() == 0 && frame.getMethod()) { adapter.handle(frame); } else { |