From 8b82aef0397d65de0c7278476e4f409fcc636306 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 28 Sep 2007 16:21:34 +0000 Subject: * src/tests/ClientSessionTest.cpp: Suspend/resume tests. * broker/SessionManager.cpp, broker/SessionHandler.cpp: Implement suspend/resume * client/ScopedAssociation.h, SessionCore.h, SessionHandler.h: Simplified relationships. - Removed ScopedAssociation. - SessionHandler: is now a member of SessionCore. - SessionCore: shared_ptr ownership by Session(s) and ConnectionImpl. - Using framing::FrameHandler interfaces. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@580403 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/ExecutionHandler.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/ExecutionHandler.h') diff --git a/cpp/src/qpid/client/ExecutionHandler.h b/cpp/src/qpid/client/ExecutionHandler.h index a3a3cde390..427c39b61f 100644 --- a/cpp/src/qpid/client/ExecutionHandler.h +++ b/cpp/src/qpid/client/ExecutionHandler.h @@ -38,7 +38,7 @@ namespace client { class ExecutionHandler : private framing::AMQP_ServerOperations::ExecutionHandler, - public ChainableFrameHandler, + public framing::FrameHandler, public Execution { framing::SequenceNumber incomingCounter; @@ -66,9 +66,14 @@ class ExecutionHandler : public: typedef CompletionTracker::ResultListener ResultListener; + // Allow other classes to set the out handler. + framing::FrameHandler::Chain out; + ExecutionHandler(uint64_t maxFrameSize = 65536); + // Incoming handler. void handle(framing::AMQFrame& frame); + framing::SequenceNumber send(const framing::AMQBody& command, ResultListener=ResultListener()); framing::SequenceNumber send(const framing::AMQBody& command, const framing::MethodContent& content, ResultListener=ResultListener()); -- cgit v1.2.1