summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/ConnectionHandler.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-01-13 19:08:29 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-01-13 19:08:29 +0000
commit5fec8f487c510e2309b3bc939fea70078a11af97 (patch)
treef875a150066a08094eba72856de99e471185a0aa /cpp/src/qpid/broker/ConnectionHandler.h
parent77bde150020c6c34130523f528d739c264aa12e3 (diff)
downloadqpid-python-5fec8f487c510e2309b3bc939fea70078a11af97.tar.gz
Send heartbeat from broker to client
- Server sends possible heartbeat range and client replies with desired heartbeat as part of the tune-tuneOk exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734220 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/ConnectionHandler.h')
-rw-r--r--cpp/src/qpid/broker/ConnectionHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/ConnectionHandler.h b/cpp/src/qpid/broker/ConnectionHandler.h
index 6fd252b120..b24c10e9e8 100644
--- a/cpp/src/qpid/broker/ConnectionHandler.h
+++ b/cpp/src/qpid/broker/ConnectionHandler.h
@@ -62,7 +62,7 @@ class ConnectionHandler : public framing::FrameHandler
const std::string& locale);
void secureOk(const std::string& response);
void tuneOk(uint16_t channelMax, uint16_t frameMax, uint16_t heartbeat);
- void heartbeat() {}
+ void heartbeat();
void open(const std::string& virtualHost,
const framing::Array& capabilities, bool insist);
void close(uint16_t replyCode, const std::string& replyText);
@@ -88,6 +88,7 @@ class ConnectionHandler : public framing::FrameHandler
public:
ConnectionHandler(Connection& connection, bool isClient);
void close(framing::connection::CloseCode code, const std::string& text);
+ void heartbeat();
void handle(framing::AMQFrame& frame);
void setSecureConnection(SecureConnection* secured);
};