summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/AMQFrame.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-09-12 00:37:17 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-09-12 00:37:17 +0000
commite69abcd0ae75a32c6a618c9b86a8a550fb4a8db7 (patch)
treea759c750ee6abe74c98f6a2bb1c341e35551e09a /cpp/src/qpid/framing/AMQFrame.h
parentbdba810bed79ed16ba0e73ff852c7cd41aa39c8b (diff)
downloadqpid-python-e69abcd0ae75a32c6a618c9b86a8a550fb4a8db7.tar.gz
* python/qpid/codec.py
Comment typo * cpp/src/qpid/broker/RecoveryManagerImpl.cpp Cruft removal * python/qpid/codec.py * python/qpid/connection.py * cpp/src/qpid/framing/AMQFrame.h * cpp/src/qpid/framing/AMQFrame.cpp Initial implementation of 0-10 framing - This uses the new 12 byte frame header, but doesn't support splitting segments/framesets over multiple frames yet. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574735 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/AMQFrame.h')
-rw-r--r--cpp/src/qpid/framing/AMQFrame.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/cpp/src/qpid/framing/AMQFrame.h b/cpp/src/qpid/framing/AMQFrame.h
index 8c18475d29..a96b0483b7 100644
--- a/cpp/src/qpid/framing/AMQFrame.h
+++ b/cpp/src/qpid/framing/AMQFrame.h
@@ -37,14 +37,14 @@ namespace framing {
class AMQFrame : public AMQDataBlock
{
public:
- AMQFrame() : channel(0) {}
+ AMQFrame() : bof(true), eof(true), bos(true), eos(true), subchannel(0), channel(0) {}
/** Construct a frame with a copy of b */
- AMQFrame(ChannelId c, const AMQBody* b) : channel(c) {
+ AMQFrame(ChannelId c, const AMQBody* b) : bof(true), eof(true), bos(true), eos(true), subchannel(0), channel(c) {
setBody(*b);
}
- AMQFrame(ChannelId c, const AMQBody& b) : channel(c) {
+ AMQFrame(ChannelId c, const AMQBody& b) : bof(true), eof(true), bos(true), eos(true), subchannel(0), channel(c) {
setBody(b);
}
@@ -97,6 +97,11 @@ class AMQFrame : public AMQDataBlock
void decodeBody(Buffer& buffer, uint32_t size, uint8_t type);
+ bool bof;
+ bool eof;
+ bool bos;
+ bool eos;
+ uint8_t subchannel;
uint16_t channel;
Variant body;
};