diff options
Diffstat (limited to 'cpp/src/qpid/client/ExecutionHandler.h')
-rw-r--r-- | cpp/src/qpid/client/ExecutionHandler.h | 7 |
1 files changed, 6 insertions, 1 deletions
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()); |