diff options
| author | Alan Conway <aconway@apache.org> | 2009-03-05 13:28:14 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-03-05 13:28:14 +0000 |
| commit | aff798ccbc13b41696c661fe07bd3934deb18625 (patch) | |
| tree | ba59dbefe36754a60386f8632cb07f05e89a61ea /cpp/src/qpid/cluster/EventFrame.h | |
| parent | 23053617b74f1bbb6c8ae3c60fe24953701a4583 (diff) | |
| download | qpid-python-aff798ccbc13b41696c661fe07bd3934deb18625.tar.gz | |
cluster: fix delivery-property.exchange-name set on updated messages.
Logging improvements, useful for debugging:
- qpid/SessionState.cpp: show frame bodies with command IDs.
- assign cluster-wide id number to each Event.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/EventFrame.h')
| -rw-r--r-- | cpp/src/qpid/cluster/EventFrame.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/EventFrame.h b/cpp/src/qpid/cluster/EventFrame.h index abeea3ef16..bb2d9d5493 100644 --- a/cpp/src/qpid/cluster/EventFrame.h +++ b/cpp/src/qpid/cluster/EventFrame.h @@ -49,14 +49,14 @@ struct EventFrame // True if this frame follows immediately after frame e. bool follows(const EventFrame& e) const { - return sequence == e.sequence || (sequence == e.sequence+1 && e.readCredit); + return eventId == e.eventId || (eventId == e.eventId+1 && e.readCredit); } - bool operator<(const EventFrame& e) const { return sequence < e.sequence; } + bool operator<(const EventFrame& e) const { return eventId < e.eventId; } ConnectionId connectionId; framing::AMQFrame frame; - uint64_t sequence; + uint64_t eventId; int readCredit; ///< last frame in an event, give credit when processed. EventType type; }; |
