diff options
| author | Gordon Sim <gsim@apache.org> | 2009-06-17 17:13:13 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-06-17 17:13:13 +0000 |
| commit | ebf5fd6fd3eb48bfb1015ad4f6a2aa57d4eb5668 (patch) | |
| tree | 24a4b72b9edd6c6a4f64e7d7fc20edd8c883a31e /cpp/src/qpid/broker/Connection.h | |
| parent | ffd992ea799eeb6b68f36f203b708d11e3553aea (diff) | |
| download | qpid-python-ebf5fd6fd3eb48bfb1015ad4f6a2aa57d4eb5668.tar.gz | |
Ensure that the ConnectionTimeoutTask does not block other tasks (e.g. ConnectionHeartbeatTask) by having the timeout changed after it has been submitted.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Connection.h')
| -rw-r--r-- | cpp/src/qpid/broker/Connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Connection.h b/cpp/src/qpid/broker/Connection.h index db18c48d82..540f64a8ed 100644 --- a/cpp/src/qpid/broker/Connection.h +++ b/cpp/src/qpid/broker/Connection.h @@ -60,6 +60,7 @@ namespace broker { class LinkRegistry; class SecureConnection; +struct ConnectionTimeoutTask; class Connection : public sys::ConnectionInputHandler, public ConnectionState, @@ -153,7 +154,7 @@ class Connection : public sys::ConnectionInputHandler, management::ManagementAgent* agent; Timer& timer; boost::intrusive_ptr<TimerTask> heartbeatTimer; - boost::intrusive_ptr<TimerTask> timeoutTimer; + boost::intrusive_ptr<ConnectionTimeoutTask> timeoutTimer; ErrorListener* errorListener; bool shadow; |
