diff options
| author | Alan Conway <aconway@apache.org> | 2012-05-08 15:04:38 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-05-08 15:04:38 +0000 |
| commit | e20364fc61452aef02f6f30639b7e6c5638ec7a4 (patch) | |
| tree | 811dbd6f8652b07a49af88840b961ae3175049d8 /cpp/src/qpid/sys/windows/SystemInfo.cpp | |
| parent | 472d7e9119b311fc1c7d09a10660292aa4b581b9 (diff) | |
| download | qpid-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-x | cpp/src/qpid/sys/windows/SystemInfo.cpp | 6 |
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, |
