diff options
author | Alan Conway <aconway@apache.org> | 2007-08-14 16:15:26 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-08-14 16:15:26 +0000 |
commit | cb65298edd497295d215220397f8fedff7b14aca (patch) | |
tree | 9f3a167ef11b0f3bd918507767fbf455d362d79d /cpp/src/qpid/framing/ChannelAdapter.cpp | |
parent | b3ddadd9b15088afecf1f9774d2004258b164258 (diff) | |
download | qpid-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/qpid/framing/ChannelAdapter.cpp')
-rw-r--r-- | cpp/src/qpid/framing/ChannelAdapter.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cpp/src/qpid/framing/ChannelAdapter.cpp b/cpp/src/qpid/framing/ChannelAdapter.cpp index b3b442004a..d61126bc7f 100644 --- a/cpp/src/qpid/framing/ChannelAdapter.cpp +++ b/cpp/src/qpid/framing/ChannelAdapter.cpp @@ -18,6 +18,7 @@ #include <boost/format.hpp> #include "ChannelAdapter.h" +#include "OutputHandler.h" #include "AMQFrame.h" #include "FrameHandler.h" #include "qpid/Exception.h" @@ -44,18 +45,11 @@ void ChannelAdapter::init(ChannelId i, OutputHandler& out, ProtocolVersion v) handlers.out= make_shared_ptr(new OutputHandlerFrameHandler(out)); } -RequestId ChannelAdapter::send(shared_ptr<AMQBody> body) +void ChannelAdapter::send(shared_ptr<AMQBody> body) { - RequestId requestId = 0; assertChannelOpen(); AMQFrame frame(getVersion(), getId(), body); handlers.out->handle(frame); - return requestId; -} - -void ChannelAdapter::handleMethod(AMQMethodBody::shared_ptr method) { - assertMethodOk(*method); - handleMethodInContext(method, MethodContext(this, method)); } void ChannelAdapter::assertMethodOk(AMQMethodBody& method) const { |