summaryrefslogtreecommitdiff
path: root/cpp/lib/common/framing/AMQMethodBody.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-18 17:45:23 +0000
committerAlan Conway <aconway@apache.org>2007-01-18 17:45:23 +0000
commit7a26e1d6aa0018e44120bef39903c4ce55676141 (patch)
treeeb676a407cdffd905cfd6d3e5ce3443b3faa0e14 /cpp/lib/common/framing/AMQMethodBody.cpp
parent05306462d72913a31775420b024252dc0f71e30a (diff)
downloadqpid-python-7a26e1d6aa0018e44120bef39903c4ce55676141.tar.gz
* MethodContext: added invocation context for methods. Can carry RequestId
as well as ChannelId. * gentools: AMQP_Clinet|ServerOperations and *Body::invoke(): pass MethodContex instead of channel ID. * All *HandlerImpl classe: use MethodContext instead of channel ID. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common/framing/AMQMethodBody.cpp')
-rw-r--r--cpp/lib/common/framing/AMQMethodBody.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/lib/common/framing/AMQMethodBody.cpp b/cpp/lib/common/framing/AMQMethodBody.cpp
index de081243ee..0c77a1c64a 100644
--- a/cpp/lib/common/framing/AMQMethodBody.cpp
+++ b/cpp/lib/common/framing/AMQMethodBody.cpp
@@ -34,7 +34,8 @@ bool AMQMethodBody::match(AMQMethodBody* other) const{
return other != 0 && other->amqpClassId() == amqpClassId() && other->amqpMethodId() == amqpMethodId();
}
-void AMQMethodBody::invoke(AMQP_ServerOperations& /*target*/, u_int16_t /*channel*/){
+void AMQMethodBody::invoke(AMQP_ServerOperations&, const MethodContext&){
+ assert(0);
THROW_QPID_ERROR(PROTOCOL_ERROR, "Method not supported by AMQP Server.");
}