diff options
| author | Alan Conway <aconway@apache.org> | 2009-02-12 19:01:51 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-02-12 19:01:51 +0000 |
| commit | bffd507d565f4030407dc3d998f0e7ead2b39aa7 (patch) | |
| tree | 2b2ee44392365ad6253d8d4cabbe6eaf2d80ab0b /cpp/src/qpid/cluster/Cluster.h | |
| parent | d066e62f23cf2019ca608116e5d2a61a8b36c281 (diff) | |
| download | qpid-python-bffd507d565f4030407dc3d998f0e7ead2b39aa7.tar.gz | |
Cluster security support:
- Set correct user ID on update connections.
- Allow configuration of user, pass and mechanism used for update connections.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743839 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.h')
| -rw-r--r-- | cpp/src/qpid/cluster/Cluster.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.h b/cpp/src/qpid/cluster/Cluster.h index 4d994943f7..8c5eb06ff7 100644 --- a/cpp/src/qpid/cluster/Cluster.h +++ b/cpp/src/qpid/cluster/Cluster.h @@ -19,6 +19,7 @@ * */ +#include "ClusterSettings.h" #include "ClusterMap.h" #include "ConnectionMap.h" #include "Cpg.h" @@ -67,9 +68,7 @@ class Cluster : private Cpg::Handler, public management::Manageable { typedef std::vector<ConnectionPtr> Connections; /** Construct the cluster in plugin earlyInitialize */ - Cluster(const std::string& name, const Url& url, broker::Broker&, bool useQuorum, - size_t readMax, size_t writeEstimate); - + Cluster(const ClusterSettings&, broker::Broker&); virtual ~Cluster(); /** Join the cluster in plugin initialize. Requires transport @@ -178,6 +177,7 @@ class Cluster : private Cpg::Handler, public management::Manageable { void setClusterId(const framing::Uuid&); // Immutable members set on construction, never changed. + ClusterSettings settings; broker::Broker& broker; qmf::org::apache::qpid::cluster::Cluster* mgmtObject; // mgnt owns lifecycle boost::shared_ptr<sys::Poller> poller; |
