From cb65298edd497295d215220397f8fedff7b14aca Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 14 Aug 2007 16:15:26 +0000 Subject: 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 --- cpp/src/qpid/framing/ChannelAdapter.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'cpp/src/qpid/framing/ChannelAdapter.h') 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 body); + virtual void send(shared_ptr 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 method, - const MethodContext& context) = 0; + virtual void handleMethod(shared_ptr) = 0; private: class ChannelAdapterHandler; friend class ChannelAdapterHandler; - void handleMethod(shared_ptr); - ChannelId id; ProtocolVersion version; FrameHandler::Chains handlers; -- cgit v1.2.1