summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows/SystemInfo.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-05-08 15:04:38 +0000
committerAlan Conway <aconway@apache.org>2012-05-08 15:04:38 +0000
commite20364fc61452aef02f6f30639b7e6c5638ec7a4 (patch)
tree811dbd6f8652b07a49af88840b961ae3175049d8 /cpp/src/qpid/sys/windows/SystemInfo.cpp
parent472d7e9119b311fc1c7d09a10660292aa4b581b9 (diff)
downloadqpid-python-e20364fc61452aef02f6f30639b7e6c5638ec7a4.tar.gz
QPID-3603: Added SystemInfo::isLocalHost to check if a host name refers to the local host.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335562 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/SystemInfo.cpp')
-rwxr-xr-xcpp/src/qpid/sys/windows/SystemInfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/windows/SystemInfo.cpp b/cpp/src/qpid/sys/windows/SystemInfo.cpp
index 4da440bdd4..f1b62d80ff 100755
--- a/cpp/src/qpid/sys/windows/SystemInfo.cpp
+++ b/cpp/src/qpid/sys/windows/SystemInfo.cpp
@@ -93,6 +93,12 @@ void SystemInfo::getLocalIpAddresses (uint16_t port,
}
}
+bool SystemInfo::isLocalHost(const std::string& candidateHost) {
+ // FIXME aconway 2012-05-03: not implemented.
+ assert(0);
+ throw Exception("Not implemented: isLocalHost");
+}
+
void SystemInfo::getSystemId (std::string &osName,
std::string &nodeName,
std::string &release,