summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/AMQMethodBody.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-28 09:27:03 +0000
committerGordon Sim <gsim@apache.org>2007-09-28 09:27:03 +0000
commit816b56837d862980e9086fe8ed02b84ca764eb1f (patch)
tree97304f72784fa28bbd864a5f3762d9aa01ba2a68 /cpp/src/qpid/framing/AMQMethodBody.h
parent5cf480a3cb1fcbaf54da0674ee1f7b1d57ded387 (diff)
downloadqpid-python-816b56837d862980e9086fe8ed02b84ca764eb1f.tar.gz
Honour sync bit when processing L4 method
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@580266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/AMQMethodBody.h')
-rw-r--r--cpp/src/qpid/framing/AMQMethodBody.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/AMQMethodBody.h b/cpp/src/qpid/framing/AMQMethodBody.h
index f0043d9d3b..e195142221 100644
--- a/cpp/src/qpid/framing/AMQMethodBody.h
+++ b/cpp/src/qpid/framing/AMQMethodBody.h
@@ -63,6 +63,8 @@ class AMQMethodBody : public AMQBody {
virtual uint32_t size() const = 0;
virtual uint8_t type() const { return METHOD_BODY; }
+ virtual bool isSync() const { return false; /*only ModelMethods can have the sync flag set*/ }
+
AMQMethodBody* getMethod() { return this; }
const AMQMethodBody* getMethod() const { return this; }
void accept(AMQBodyConstVisitor& v) const { v.visit(*this); }