diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-01-13 19:15:31 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-01-13 19:15:31 +0000 |
| commit | 766c218055567f4e387aab4678d8d1c840916465 (patch) | |
| tree | a8caf1fc75a6505124b3e6d4ed3b36de5894f50c /cpp/src/qpid/client/SslConnector.cpp | |
| parent | 5fec8f487c510e2309b3bc939fea70078a11af97 (diff) | |
| download | qpid-python-766c218055567f4e387aab4678d8d1c840916465.tar.gz | |
Implement heartbeat timeout on client:
- The client shuts down a connection if
it receives no traffic on it in 2 timeout periods
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734221 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SslConnector.cpp')
| -rw-r--r-- | cpp/src/qpid/client/SslConnector.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/SslConnector.cpp b/cpp/src/qpid/client/SslConnector.cpp index 6dbdbd003e..a68af78354 100644 --- a/cpp/src/qpid/client/SslConnector.cpp +++ b/cpp/src/qpid/client/SslConnector.cpp @@ -122,6 +122,7 @@ class SslConnector : public Connector, private sys::Runnable void init(); void close(); void send(framing::AMQFrame& frame); + void abort() {} // TODO: Need to fix for heartbeat timeouts to work void setInputHandler(framing::InputHandler* handler); void setShutdownHandler(sys::ShutdownHandler* handler); @@ -372,8 +373,6 @@ void SslConnector::eof(SslIO&) { handleClosed(); } -// TODO: astitcher 20070908 This version of the code can never time out, so the idle processing -// will never be called void SslConnector::run(){ // Keep the connection impl in memory until run() completes. boost::shared_ptr<ConnectionImpl> protect = impl->shared_from_this(); |
