diff options
Diffstat (limited to 'cpp/src/qpid/broker/Broker.h')
| -rw-r--r-- | cpp/src/qpid/broker/Broker.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Broker.h b/cpp/src/qpid/broker/Broker.h index 6636b5d912..dcb20c4fe3 100644 --- a/cpp/src/qpid/broker/Broker.h +++ b/cpp/src/qpid/broker/Broker.h @@ -70,6 +70,7 @@ namespace broker { class ExpiryPolicy; class Message; +class Cluster; static const uint16_t DEFAULT_PORT=5672; @@ -153,6 +154,7 @@ public: std::auto_ptr<management::ManagementAgent> managementAgent; ProtocolFactoryMap protocolFactories; std::auto_ptr<MessageStore> store; + std::auto_ptr<Cluster> cluster; AclModule* acl; DataDir dataDir; @@ -273,6 +275,9 @@ public: void setClusterUpdatee(bool set) { clusterUpdatee = set; } bool isClusterUpdatee() const { return clusterUpdatee; } + QPID_BROKER_EXTERN void setCluster(std::auto_ptr<Cluster> c) { cluster = c; } + QPID_BROKER_EXTERN Cluster& getCluster() { return *cluster; } + management::ManagementAgent* getManagementAgent() { return managementAgent.get(); } ConnectionCounter& getConnectionCounter() {return connectionCounter;} |
