diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-01-14 19:17:00 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-01-14 19:17:00 +0000 |
| commit | fffbd7ab4f1d16a3163926820aaa318bdf49f53b (patch) | |
| tree | c8fd1c69c3ed524c8b8ff5839659a74f81d47774 /cpp/include | |
| parent | e9ff93d2b031fe75fc90cdbe8db09dfc6c5bcfbc (diff) | |
| download | qpid-python-fffbd7ab4f1d16a3163926820aaa318bdf49f53b.tar.gz | |
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
Diffstat (limited to 'cpp/include')
| -rw-r--r-- | cpp/include/qpid/Url.h | 7 | ||||
| -rw-r--r-- | cpp/include/qpid/sys/SystemInfo.h | 6 |
2 files changed, 0 insertions, 13 deletions
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<Address> { - /** 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 @@ -47,12 +47,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<Address> &addrList); - -/** * Get the names of all the network interfaces connected to * this host. * @param names Receives the list of interface names |
