diff options
Diffstat (limited to 'cpp/common/framing/inc/AMQHeaderBody.h')
-rw-r--r-- | cpp/common/framing/inc/AMQHeaderBody.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/common/framing/inc/AMQHeaderBody.h b/cpp/common/framing/inc/AMQHeaderBody.h index 369db8a9c8..e39fffa8ce 100644 --- a/cpp/common/framing/inc/AMQHeaderBody.h +++ b/cpp/common/framing/inc/AMQHeaderBody.h @@ -40,12 +40,14 @@ public: AMQHeaderBody(); inline u_int8_t type() const { return HEADER_BODY; } HeaderProperties* getProperties(){ return properties; } + const HeaderProperties* getProperties() const { return properties; } inline u_int64_t getContentSize() const { return contentSize; } inline void setContentSize(u_int64_t size) { contentSize = size; } virtual ~AMQHeaderBody(); virtual u_int32_t size() const; virtual void encode(Buffer& buffer) const; virtual void decode(Buffer& buffer, u_int32_t size); + virtual void print(std::ostream& out) const; }; } |