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/broker/SemanticHandler.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'cpp/src/qpid/broker/SemanticHandler.cpp') diff --git a/cpp/src/qpid/broker/SemanticHandler.cpp b/cpp/src/qpid/broker/SemanticHandler.cpp index fd0a5cfbe1..6ef2162a4a 100644 --- a/cpp/src/qpid/broker/SemanticHandler.cpp +++ b/cpp/src/qpid/broker/SemanticHandler.cpp @@ -60,13 +60,12 @@ void SemanticHandler::handle(framing::AMQFrame& frame) } //ChannelAdapter virtual methods: -void SemanticHandler::handleMethodInContext(boost::shared_ptr method, - const qpid::framing::MethodContext& context) +void SemanticHandler::handleMethod(boost::shared_ptr method) { try { if (!method->invoke(this)) { //else do the usual: - handleL4(method, context); + handleL4(method); //(if the frameset is complete) we can move the execution-mark //forward @@ -113,8 +112,7 @@ void SemanticHandler::flush() } } -void SemanticHandler::handleL4(boost::shared_ptr method, - const qpid::framing::MethodContext& context) +void SemanticHandler::handleL4(boost::shared_ptr method) { try{ if(getId() != 0 && !method->isA() && !isOpen()) { @@ -124,7 +122,7 @@ void SemanticHandler::handleL4(boost::shared_ptr m throw ConnectionException(504, out.str()); } } else { - method->invoke(*adapter, context); + method->invoke(*adapter); } }catch(const ChannelException& e){ adapter->getProxy().getChannel().close( @@ -171,7 +169,7 @@ void SemanticHandler::redeliver(Message::shared_ptr& msg, DeliveryToken::shared_ msg->deliver(*this, tag, token, connection.getFrameMax()); } -RequestId SemanticHandler::send(shared_ptr body) +void SemanticHandler::send(shared_ptr body) { Mutex::ScopedLock l(outLock); uint8_t type(body->type()); @@ -182,5 +180,5 @@ RequestId SemanticHandler::send(shared_ptr body) //std::cout << "[" << this << "] allocated: " << outgoing.hwm.getValue() << " to " << *body << std::endl; } } - return ChannelAdapter::send(body); + ChannelAdapter::send(body); } -- cgit v1.2.1