summaryrefslogtreecommitdiff
path: root/cpp/src/tests/MockChannel.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-14 16:15:26 +0000
committerAlan Conway <aconway@apache.org>2007-08-14 16:15:26 +0000
commitcb65298edd497295d215220397f8fedff7b14aca (patch)
tree9f3a167ef11b0f3bd918507767fbf455d362d79d /cpp/src/tests/MockChannel.h
parentb3ddadd9b15088afecf1f9774d2004258b164258 (diff)
downloadqpid-python-cb65298edd497295d215220397f8fedff7b14aca.tar.gz
Removed unused types: RequestId, ResponseId, MethodContext.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@565821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/MockChannel.h')
-rw-r--r--cpp/src/tests/MockChannel.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/tests/MockChannel.h b/cpp/src/tests/MockChannel.h
index 908a222614..fb2de98d2a 100644
--- a/cpp/src/tests/MockChannel.h
+++ b/cpp/src/tests/MockChannel.h
@@ -19,7 +19,6 @@
*
*/
-#include "qpid/framing/MethodContext.h"
#include "qpid/framing/ChannelAdapter.h"
#include "qpid/framing/OutputHandler.h"
#include "qpid/framing/AMQFrame.h"
@@ -58,12 +57,7 @@ struct MockChannel : public qpid::framing::ChannelAdapter
boost::shared_ptr<qpid::framing::AMQContentBody> b) { send(b); }
void handleHeartbeat(
boost::shared_ptr<qpid::framing::AMQHeartbeatBody> b) { send(b); }
- void handleMethodInContext(
- boost::shared_ptr<qpid::framing::AMQMethodBody> method,
- const qpid::framing::MethodContext& context)
- {
- context.channel->send(method);
- };
+ void handleMethod(boost::shared_ptr<qpid::framing::AMQMethodBody> method) { send(method); };
};