From b4dac41573e33e1a04a2b7b8c9a35f5e72b662bc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 3 Mar 2008 14:49:06 +0000 Subject: A further step to final 0-10 spec. The extra.xml fragment adds class defs for connection in session that are in line with latest spec but use old schema. The preview codepath (99-0) remains unaltered. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633108 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/ConnectionHandler.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/broker/ConnectionHandler.h') diff --git a/cpp/src/qpid/broker/ConnectionHandler.h b/cpp/src/qpid/broker/ConnectionHandler.h index 2a581d5675..44e2ce05fa 100644 --- a/cpp/src/qpid/broker/ConnectionHandler.h +++ b/cpp/src/qpid/broker/ConnectionHandler.h @@ -41,10 +41,10 @@ class Connection; // TODO aconway 2007-09-18: Rename to ConnectionHandler class ConnectionHandler : public framing::FrameHandler { - struct Handler : public framing::AMQP_ServerOperations::ConnectionHandler, + struct Handler : public framing::AMQP_ServerOperations::Connection010Handler, public framing::AMQP_ClientOperations::ConnectionHandler { - framing::AMQP_ClientProxy::Connection client; + framing::AMQP_ClientProxy::Connection010 client; framing::AMQP_ServerProxy::Connection server; Connection& connection; bool serverMode; @@ -55,6 +55,7 @@ class ConnectionHandler : public framing::FrameHandler const std::string& locale); void secureOk(const std::string& response); void tuneOk(uint16_t channelMax, uint32_t frameMax, uint16_t heartbeat); + void heartbeat() {} void open(const std::string& virtualHost, const std::string& capabilities, bool insist); void close(uint16_t replyCode, const std::string& replyText, -- cgit v1.2.1