summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/common/framing/Buffer.h
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2006-12-11 18:02:50 +0000
committerKim van der Riet <kpvdr@apache.org>2006-12-11 18:02:50 +0000
commited25c7a11404dd20c82cdfd43cb64611a4a79d7c (patch)
tree0153185f2478dad3872e71dde052d5633f64f474 /qpid/cpp/lib/common/framing/Buffer.h
parent2925a0ea7f198b7292cfd370023f2a16ef77d835 (diff)
downloadqpid-python-ed25c7a11404dd20c82cdfd43cb64611a4a79d7c.tar.gz
Added new Content class and other methods in Buffer to support the new transport in AMQP 0-9. This will allow the code produced by the code generator for 0-9 to compile.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@485780 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/common/framing/Buffer.h')
-rw-r--r--qpid/cpp/lib/common/framing/Buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/lib/common/framing/Buffer.h b/qpid/cpp/lib/common/framing/Buffer.h
index 92a25ee4c8..b07c2a2ced 100644
--- a/qpid/cpp/lib/common/framing/Buffer.h
+++ b/qpid/cpp/lib/common/framing/Buffer.h
@@ -26,6 +26,7 @@
namespace qpid {
namespace framing {
+class Content;
class FieldTable;
class Buffer
@@ -71,6 +72,9 @@ public:
void putFieldTable(const FieldTable& t);
void getFieldTable(FieldTable& t);
+ void putContent(const Content& c);
+ void getContent(Content& c);
+
void putRawData(const string& s);
void getRawData(string& s, u_int32_t size);