From 0a1b3430450f274aee273a9f792a2d43f771b85f Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 13 Sep 2007 17:29:16 +0000 Subject: Use frameset begin/end flags for determining frameset boundaries. Set frameset & segment begin/end flags for content bearing methods (i.e. messages). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@575377 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/AMQFrame.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpp/src/qpid/framing/AMQFrame.h') diff --git a/cpp/src/qpid/framing/AMQFrame.h b/cpp/src/qpid/framing/AMQFrame.h index a96b0483b7..f4aec72e4c 100644 --- a/cpp/src/qpid/framing/AMQFrame.h +++ b/cpp/src/qpid/framing/AMQFrame.h @@ -74,6 +74,17 @@ class AMQFrame : public AMQDataBlock void encode(Buffer& buffer) const; bool decode(Buffer& buffer); uint32_t size() const; + + bool getBof() const { return bof; } + void setBof(bool isBof) { bof = isBof; } + bool getEof() const { return eof; } + void setEof(bool isEof) { eof = isEof; } + + bool getBos() const { return bos; } + void setBos(bool isBos) { bos = isBos; } + bool getEos() const { return eos; } + void setEos(bool isEos) { eos = isEos; } + static uint32_t frameOverhead(); private: -- cgit v1.2.1