diff options
| author | Alan Conway <aconway@apache.org> | 2008-10-10 21:19:46 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-10-10 21:19:46 +0000 |
| commit | 91f45702afcf3b675fe80dbcf3a452daa61469e4 (patch) | |
| tree | d3a59d07dd3b4c88fa6a16d23b168dc6de20622b /cpp/src/qpid/client/FailoverConnection.h | |
| parent | 792e46cad9a978c0d297c245772e57c0759cec31 (diff) | |
| download | qpid-python-91f45702afcf3b675fe80dbcf3a452daa61469e4.tar.gz | |
Failover client and example fixes & tidy up.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/FailoverConnection.h')
| -rw-r--r-- | cpp/src/qpid/client/FailoverConnection.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/client/FailoverConnection.h b/cpp/src/qpid/client/FailoverConnection.h index 1cec0bfd5b..09e9c8bfa4 100644 --- a/cpp/src/qpid/client/FailoverConnection.h +++ b/cpp/src/qpid/client/FailoverConnection.h @@ -29,7 +29,7 @@ #include "qpid/client/FailoverConnection.h" #include "qpid/client/FailoverSession.h" #include "qpid/client/FailoverSubscriptionManager.h" - +#include "qpid/sys/Mutex.h" namespace qpid { @@ -82,11 +82,11 @@ class FailoverConnection private: - std::string host; + typedef sys::Mutex::ScopedLock Lock; - Connection connection; + sys::Mutex lock; - int currentPortNumber; + Connection connection; boost::function<void ()> clientFailoverCallback; |
