diff options
| author | Alan Conway <aconway@apache.org> | 2009-01-27 01:44:02 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-01-27 01:44:02 +0000 |
| commit | 57acf95c94d52b15b2ad6e6038bf3390d9063282 (patch) | |
| tree | e7b07be0e204b1e9f4bda85be345efd9dcabca44 /cpp/src/qpid/cluster/Connection.cpp | |
| parent | d40d874132bc5011a76bd883fdf9d2507a2f8149 (diff) | |
| download | qpid-python-57acf95c94d52b15b2ad6e6038bf3390d9063282.tar.gz | |
cluster: Add sequence number to events & frames
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.cpp')
| -rw-r--r-- | cpp/src/qpid/cluster/Connection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp index d05baffe3a..839a0e67b9 100644 --- a/cpp/src/qpid/cluster/Connection.cpp +++ b/cpp/src/qpid/cluster/Connection.cpp @@ -137,7 +137,7 @@ bool Connection::checkUnsupported(const AMQBody& body) { } // Decode buffer and put frames on frameq. -void Connection::deliveredEvent(const Event& e, EventFrameQueue& frameq) { +void Connection::deliveredEvent(const Event& e, PollableFrameQueue& frameq) { assert(!catchUp); Buffer buf(e); // Set read credit on the last frame. @@ -145,10 +145,10 @@ void Connection::deliveredEvent(const Event& e, EventFrameQueue& frameq) { if (!mcastDecoder.decode(buf)) return; AMQFrame frame(mcastDecoder.frame); while (mcastDecoder.decode(buf)) { - frameq.push(EventFrame(this, getId().getMember(), frame)); + frameq.push(EventFrame(this, e, frame)); frame = mcastDecoder.frame; } - frameq.push(EventFrame(this, getId().getMember(), frame, readCredit)); + frameq.push(EventFrame(this, e, frame, readCredit)); readCredit = 0; } |
