diff options
Diffstat (limited to 'cpp/src/qpid/broker/LinkRegistry.h')
-rw-r--r-- | cpp/src/qpid/broker/LinkRegistry.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/LinkRegistry.h b/cpp/src/qpid/broker/LinkRegistry.h index 6e228c0e2c..884228bd63 100644 --- a/cpp/src/qpid/broker/LinkRegistry.h +++ b/cpp/src/qpid/broker/LinkRegistry.h @@ -64,6 +64,8 @@ namespace broker { Timer timer; management::Manageable* parent; MessageStore* store; + bool passive; + bool passiveChanged; void periodicMaintenance (); bool updateAddress(const std::string& oldKey, const TcpAddress& newAddress); @@ -122,7 +124,17 @@ namespace broker { std::string getAuthCredentials (const std::string& key); std::string getAuthIdentity (const std::string& key); + /** + * Called by links failing over to new address + */ void changeAddress(const TcpAddress& oldAddress, const TcpAddress& newAddress); + /** + * Called to alter passive state. In passive state the links + * and bridges managed by a link registry will be recorded and + * updated but links won't actually establish connections and + * bridges won't therefore pull or push any messages. + */ + void setPassive(bool); }; } } |