diff options
author | Andrew Stitcher <astitcher@apache.org> | 2012-10-24 05:51:31 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2012-10-24 05:51:31 +0000 |
commit | 5d1d8481c376435051d5b24171dbb209c779b9ab (patch) | |
tree | da83a8d381028880ab45f6486ade1cf8baa096b3 /cpp/src/qpid/sys/windows/PollableCondition.cpp | |
parent | c61f7c0c79717b0eb842d0c4c88deeda9f7672e6 (diff) | |
download | qpid-python-5d1d8481c376435051d5b24171dbb209c779b9ab.tar.gz |
QPID-4272: Large amounts of code are duplicated between the SSL and TCP transports
Lift Socket into an interface with concrete implementations
- BSDSocket, WinSocket and SslSocket
- As a side effect completely change the approach we use for platform
specific handles: IOHandle now directly carries the platform handle
but its real type is only exposed to platform specific code.
- Modified RDMA code for the new IOHandle approach
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1401559 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/PollableCondition.cpp')
-rw-r--r-- | cpp/src/qpid/sys/windows/PollableCondition.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/windows/PollableCondition.cpp b/cpp/src/qpid/sys/windows/PollableCondition.cpp index bb637be0a6..7bbcd4de1b 100644 --- a/cpp/src/qpid/sys/windows/PollableCondition.cpp +++ b/cpp/src/qpid/sys/windows/PollableCondition.cpp @@ -57,8 +57,7 @@ private: PollableConditionPrivate::PollableConditionPrivate(const sys::PollableCondition::Callback& cb, sys::PollableCondition& parent, const boost::shared_ptr<sys::Poller>& poller) - : IOHandle(new sys::IOHandlePrivate(INVALID_SOCKET, - boost::bind(&PollableConditionPrivate::dispatch, this, _1))), + : IOHandle(INVALID_SOCKET, boost::bind(&PollableConditionPrivate::dispatch, this, _1)), cb(cb), parent(parent), poller(poller), isSet(0) { } |