diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2011-05-26 20:38:27 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2011-05-26 20:38:27 +0000 |
| commit | 17901dc92b36cdd2af8f96771107bf5594beb3ce (patch) | |
| tree | 1ba9c01f77e8555e6cd243a833d6b30619e4d6a5 /cpp/src/qpid/sys/TCPIOPlugin.cpp | |
| parent | c3dc35783ba563428aa13ef971fb0950b046e250 (diff) | |
| download | qpid-python-17901dc92b36cdd2af8f96771107bf5594beb3ce.tar.gz | |
NO-JIRA: Remove a lot of redundant stuff from the Socket code
- Removal of unused code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/TCPIOPlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/TCPIOPlugin.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/qpid/sys/TCPIOPlugin.cpp b/cpp/src/qpid/sys/TCPIOPlugin.cpp index 7bb85c62a6..34338ce434 100644 --- a/cpp/src/qpid/sys/TCPIOPlugin.cpp +++ b/cpp/src/qpid/sys/TCPIOPlugin.cpp @@ -49,7 +49,6 @@ class AsynchIOProtocolFactory : public ProtocolFactory { ConnectFailedCallback); uint16_t getPort() const; - std::string getHost() const; private: void established(Poller::shared_ptr, const Socket&, ConnectionCodec::Factory*, @@ -110,10 +109,6 @@ uint16_t AsynchIOProtocolFactory::getPort() const { return listeningPort; // Immutable no need for lock. } -std::string AsynchIOProtocolFactory::getHost() const { - return listener.getSockname(); -} - void AsynchIOProtocolFactory::accept(Poller::shared_ptr poller, ConnectionCodec::Factory* fact) { acceptor.reset( |
