diff options
| author | Alan Conway <aconway@apache.org> | 2007-01-15 21:56:23 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-01-15 21:56:23 +0000 |
| commit | ef1469a7ea1f54f266aee8f2899b7cd0c7e07d08 (patch) | |
| tree | 3b69ec6c589ff8edd628f2e218589180cbca005b /cpp/lib/client/Connection.h | |
| parent | 5aaad510dc978dc09f92c774c81255b7af6b8b68 (diff) | |
| download | qpid-python-ef1469a7ea1f54f266aee8f2899b7cd0c7e07d08.tar.gz | |
* Client & broker using Requester/Responder to manage request/response IDs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/client/Connection.h')
| -rw-r--r-- | cpp/lib/client/Connection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/lib/client/Connection.h b/cpp/lib/client/Connection.h index 37e65e6099..21e2fb90a2 100644 --- a/cpp/lib/client/Connection.h +++ b/cpp/lib/client/Connection.h @@ -37,6 +37,8 @@ #include <ClientQueue.h> #include <ResponseHandler.h> #include <AMQP_HighestVersion.h> +#include "Requester.h" +#include "Responder.h" namespace qpid { @@ -79,6 +81,8 @@ namespace client { ResponseHandler responses; volatile bool closed; qpid::framing::ProtocolVersion version; + qpid::framing::Requester requester; + qpid::framing::Responder responder; void channelException(Channel* channel, qpid::framing::AMQMethodBody* body, QpidError& e); void error(int code, const std::string& msg, int classid = 0, int methodid = 0); @@ -89,6 +93,7 @@ namespace client { virtual void handleHeader(qpid::framing::AMQHeaderBody::shared_ptr body); virtual void handleContent(qpid::framing::AMQContentBody::shared_ptr body); virtual void handleHeartbeat(qpid::framing::AMQHeartbeatBody::shared_ptr body); + void handleFrame(qpid::framing::AMQFrame* frame); public: /** |
