From aa6c292b43a5aaffc431688bec19617a8f385229 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 1 Apr 2008 16:32:10 +0000 Subject: Fix some erroneous definitions in the transitional xml fragment for 0-10. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@643472 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/broker/ConnectionHandler.cpp | 4 ++-- qpid/cpp/src/qpid/broker/ConnectionHandler.h | 2 +- qpid/cpp/xml/extra.xml | 26 ++++---------------------- 3 files changed, 7 insertions(+), 25 deletions(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp b/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp index f28c2bb7f7..b763969948 100644 --- a/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp +++ b/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp @@ -96,13 +96,13 @@ void ConnectionHandler::Handler::startOk(const framing::FieldTable& /*clientProp connection.setUserId(uid); } } - client.tune(framing::CHANNEL_MAX, connection.getFrameMax(), connection.getHeartbeat()); + client.tune(framing::CHANNEL_MAX, connection.getFrameMax(), 0, 0); } void ConnectionHandler::Handler::secureOk(const string& /*response*/){} void ConnectionHandler::Handler::tuneOk(uint16_t /*channelmax*/, - uint32_t framemax, uint16_t heartbeat) + uint16_t framemax, uint16_t heartbeat) { connection.setFrameMax(framemax); connection.setHeartbeat(heartbeat); diff --git a/qpid/cpp/src/qpid/broker/ConnectionHandler.h b/qpid/cpp/src/qpid/broker/ConnectionHandler.h index 56de1c7517..d949d51c43 100644 --- a/qpid/cpp/src/qpid/broker/ConnectionHandler.h +++ b/qpid/cpp/src/qpid/broker/ConnectionHandler.h @@ -53,7 +53,7 @@ class ConnectionHandler : public framing::FrameHandler const std::string& mechanism, const std::string& response, const std::string& locale); void secureOk(const std::string& response); - void tuneOk(uint16_t channelMax, uint32_t frameMax, uint16_t heartbeat); + void tuneOk(uint16_t channelMax, uint16_t frameMax, uint16_t heartbeat); void heartbeat() {} void open(const std::string& virtualHost, const framing::Array& capabilities, bool insist); diff --git a/qpid/cpp/xml/extra.xml b/qpid/cpp/xml/extra.xml index 512563b454..3904c0f534 100644 --- a/qpid/cpp/xml/extra.xml +++ b/qpid/cpp/xml/extra.xml @@ -173,7 +173,7 @@ - + The largest frame size that the server proposes for the connection. The client can negotiate a lower value. Zero means that the server does not impose any specific limit but @@ -193,26 +193,8 @@ - - - - The delay, in seconds, of the connection heartbeat that the server wants. Zero means the - server does not want a heartbeat. - - + + @@ -243,7 +225,7 @@ - + The largest frame size that the client and server will use for the connection. Zero means that the client does not impose any specific limit but may reject very large frames if it -- cgit v1.2.1