diff options
author | Stephen D. Huston <shuston@apache.org> | 2008-10-21 18:29:44 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2008-10-21 18:29:44 +0000 |
commit | a456228771847475234d60f58307fff1ba5ecc43 (patch) | |
tree | 41ee422be98bedec96969b4785ffb34c15e128c1 /cpp/src/qpid/client/Connector.cpp | |
parent | f3c32c4937b95a0fafbbb36aa3e7d43471d77be3 (diff) | |
download | qpid-python-a456228771847475234d60f58307fff1ba5ecc43.tar.gz |
Refactor sys::AsynchIO class to allow reimplementing on other platforms without affecting upper level usage. Resolves QPID-1377 and supplies Windows AsynchIO.cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connector.cpp')
-rw-r--r-- | cpp/src/qpid/client/Connector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp index e674a738c2..67e9239224 100644 --- a/cpp/src/qpid/client/Connector.cpp +++ b/cpp/src/qpid/client/Connector.cpp @@ -200,7 +200,7 @@ void TCPConnector::connect(const std::string& host, int port){ identifier = str(format("[%1% %2%]") % socket.getLocalPort() % socket.getPeerAddress()); closed = false; poller = Poller::shared_ptr(new Poller); - aio = new AsynchIO(socket, + aio = AsynchIO::create(socket, boost::bind(&TCPConnector::readbuff, this, _1, _2), boost::bind(&TCPConnector::eof, this, _1), boost::bind(&TCPConnector::eof, this, _1), |