From 8b7f87dcb84d593b128485e2599f354c6b88bea4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 16 May 2013 01:02:37 +0000 Subject: NO-JIRA: HA Use qpid::Address in ha::BrokerInfo rather than host/port. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483138 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/include/qpid/Address.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/include') diff --git a/qpid/cpp/include/qpid/Address.h b/qpid/cpp/include/qpid/Address.h index f5b19d0532..edb405db92 100755 --- a/qpid/cpp/include/qpid/Address.h +++ b/qpid/cpp/include/qpid/Address.h @@ -29,13 +29,13 @@ namespace client { struct ConnectionSettings; } /** - * Contains the protocol address of an AMQP broker. + * Contains the protocol address of an AMQP broker. */ struct Address { public: static const std::string TCP; // Default TCP protocol tag. static const uint16_t AMQP_PORT=5672; // Default AMQP port. - + QPID_COMMON_INLINE_EXTERN explicit Address( const std::string& protocol_=std::string(), const std::string& host_=std::string(), @@ -49,6 +49,7 @@ public: QPID_COMMON_EXTERN std::ostream& operator<<(std::ostream& os, const Address& addr); QPID_COMMON_EXTERN bool operator==(const Address& x, const Address& y); +QPID_COMMON_EXTERN bool operator!=(const Address& x, const Address& y); } // namespace qpid -- cgit v1.2.1