From ef1469a7ea1f54f266aee8f2899b7cd0c7e07d08 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 15 Jan 2007 21:56:23 +0000 Subject: * 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 --- cpp/lib/client/Connection.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpp/lib/client/Connection.h') 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 #include #include +#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: /** -- cgit v1.2.1