diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-10-16 18:47:47 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-10-16 18:47:47 +0000 |
commit | 18b24ce73d0740ad7df97ccca6cec5e2ba9d3ec2 (patch) | |
tree | e7124e5e295a79d2c2518bbf9d5d3a161bdba39a /cpp/src/qpid/sys/TCPIOPlugin.cpp | |
parent | 2b04bc6dc46b3f761a239f41032258eb1d345fbf (diff) | |
download | qpid-python-18b24ce73d0740ad7df97ccca6cec5e2ba9d3ec2.tar.gz |
Rationalised AsynchConnector/Acceptor/IO to all use the same code structure
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/TCPIOPlugin.cpp')
-rw-r--r-- | cpp/src/qpid/sys/TCPIOPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/TCPIOPlugin.cpp b/cpp/src/qpid/sys/TCPIOPlugin.cpp index d51893374a..39ae12c189 100644 --- a/cpp/src/qpid/sys/TCPIOPlugin.cpp +++ b/cpp/src/qpid/sys/TCPIOPlugin.cpp @@ -114,7 +114,7 @@ std::string AsynchIOProtocolFactory::getHost() const { void AsynchIOProtocolFactory::accept(Poller::shared_ptr poller, ConnectionCodec::Factory* fact) { acceptor.reset( - new AsynchAcceptor(listener, + AsynchAcceptor::create(listener, boost::bind(&AsynchIOProtocolFactory::established, this, poller, _1, fact, false))); acceptor->start(poller); } |