summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/AMQMethodBody.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/AMQMethodBody.cpp')
-rw-r--r--cpp/src/qpid/framing/AMQMethodBody.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/AMQMethodBody.cpp b/cpp/src/qpid/framing/AMQMethodBody.cpp
index 04941eaa58..eb34d48c5f 100644
--- a/cpp/src/qpid/framing/AMQMethodBody.cpp
+++ b/cpp/src/qpid/framing/AMQMethodBody.cpp
@@ -60,4 +60,9 @@ void AMQMethodBody::decode(Buffer& buffer, uint32_t /*size*/) {
decodeContent(buffer);
}
+void AMQMethodBody::encode(Buffer& buffer) const {
+ encodeId(buffer);
+ encodeContent(buffer);
+}
+
}} // namespace qpid::framing