summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/TCPIOPlugin.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2011-05-26 20:38:27 +0000
committerAndrew Stitcher <astitcher@apache.org>2011-05-26 20:38:27 +0000
commit17901dc92b36cdd2af8f96771107bf5594beb3ce (patch)
tree1ba9c01f77e8555e6cd243a833d6b30619e4d6a5 /cpp/src/qpid/sys/TCPIOPlugin.cpp
parentc3dc35783ba563428aa13ef971fb0950b046e250 (diff)
downloadqpid-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.cpp5
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(