diff options
Diffstat (limited to 'cpp/common/framing/src/AMQContentBody.cpp')
-rw-r--r-- | cpp/common/framing/src/AMQContentBody.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/common/framing/src/AMQContentBody.cpp b/cpp/common/framing/src/AMQContentBody.cpp index c8aadc8108..a9ee190ba8 100644 --- a/cpp/common/framing/src/AMQContentBody.cpp +++ b/cpp/common/framing/src/AMQContentBody.cpp @@ -16,6 +16,7 @@ * */ #include "AMQContentBody.h" +#include <iostream> qpid::framing::AMQContentBody::AMQContentBody(){ } @@ -33,3 +34,7 @@ void qpid::framing::AMQContentBody::decode(Buffer& buffer, u_int32_t size){ buffer.getRawData(data, size); } +void qpid::framing::AMQContentBody::print(std::ostream& out) const +{ + out << "content (" << size() << " bytes)"; +} |