summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/ChannelAdapter.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/qpid/framing/ChannelAdapter.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/qpid/framing/ChannelAdapter.h')
-rw-r--r--cpp/src/qpid/framing/ChannelAdapter.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/cpp/src/qpid/framing/ChannelAdapter.h b/cpp/src/qpid/framing/ChannelAdapter.h
index 84a626c864..9e418013eb 100644
--- a/cpp/src/qpid/framing/ChannelAdapter.h
+++ b/cpp/src/qpid/framing/ChannelAdapter.h
@@ -34,7 +34,6 @@
namespace qpid {
namespace framing {
-class MethodContext;
class OutputHandler;
/**
@@ -67,12 +66,7 @@ class ChannelAdapter : protected BodyHandler {
ChannelId getId() const { return id; }
ProtocolVersion getVersion() const { return version; }
- /**
- * Send a frame.
- *@param body Body of the frame.
- *@return If body is a request, the ID assigned else 0.
- */
- virtual RequestId send(shared_ptr<AMQBody> body);
+ virtual void send(shared_ptr<AMQBody> body);
virtual bool isOpen() const = 0;
@@ -81,16 +75,12 @@ class ChannelAdapter : protected BodyHandler {
void assertChannelOpen() const;
void assertChannelNotOpen() const;
- virtual void handleMethodInContext(
- shared_ptr<AMQMethodBody> method,
- const MethodContext& context) = 0;
+ virtual void handleMethod(shared_ptr<AMQMethodBody>) = 0;
private:
class ChannelAdapterHandler;
friend class ChannelAdapterHandler;
- void handleMethod(shared_ptr<AMQMethodBody>);
-
ChannelId id;
ProtocolVersion version;
FrameHandler::Chains handlers;