From fffbd7ab4f1d16a3163926820aaa318bdf49f53b Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 14 Jan 2013 19:17:00 +0000 Subject: QPID-4536: Remove functionality which automatically makes a broker advertise all its network interfaces as potential failover endpoints. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433061 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/Url.h | 7 ------- cpp/include/qpid/sys/SystemInfo.h | 6 ------ 2 files changed, 13 deletions(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/Url.h b/cpp/include/qpid/Url.h index b3ff9576e2..f9ed87c24b 100644 --- a/cpp/include/qpid/Url.h +++ b/cpp/include/qpid/Url.h @@ -32,13 +32,6 @@ namespace qpid { /** An AMQP URL contains a list of addresses */ struct Url : public std::vector
{ - /** Url with the hostname as returned by gethostname(2) */ - QPID_COMMON_EXTERN static Url getHostNameUrl(uint16_t port); - - /** Url with local IP address(es), may be more than one address - * on a multi-homed host. */ - QPID_COMMON_EXTERN static Url getIpAddressesUrl(uint16_t port); - struct Invalid : public Exception { QPID_COMMON_EXTERN Invalid(const std::string& s); }; /** Convert to string form. */ diff --git a/cpp/include/qpid/sys/SystemInfo.h b/cpp/include/qpid/sys/SystemInfo.h index ec0e653881..1b5720a5f0 100644 --- a/cpp/include/qpid/sys/SystemInfo.h +++ b/cpp/include/qpid/sys/SystemInfo.h @@ -46,12 +46,6 @@ QPID_COMMON_EXTERN long concurrency(); */ QPID_COMMON_EXTERN bool getLocalHostname (Address &address); -/** - * Get the (possibly multiple) local IP addresses of this host - * using the specified port. - */ -QPID_COMMON_EXTERN void getLocalIpAddresses (uint16_t port, std::vector
&addrList); - /** * Get the names of all the network interfaces connected to * this host. -- cgit v1.2.1