summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows/IOHandle.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-10-24 05:51:31 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-10-24 05:51:31 +0000
commite9af3d4c50c322615b9486fdccde807a621648c7 (patch)
treeda83a8d381028880ab45f6486ade1cf8baa096b3 /cpp/src/qpid/sys/windows/IOHandle.cpp
parent29d3d257a0df2e3f9d0386e534411c7f3806fa85 (diff)
downloadqpid-python-e9af3d4c50c322615b9486fdccde807a621648c7.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/IOHandle.cpp')
-rwxr-xr-xcpp/src/qpid/sys/windows/IOHandle.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/cpp/src/qpid/sys/windows/IOHandle.cpp b/cpp/src/qpid/sys/windows/IOHandle.cpp
index 250737cb99..19a1c44875 100755
--- a/cpp/src/qpid/sys/windows/IOHandle.cpp
+++ b/cpp/src/qpid/sys/windows/IOHandle.cpp
@@ -19,24 +19,11 @@
*
*/
-#include "qpid/sys/IOHandle.h"
#include "qpid/sys/windows/IoHandlePrivate.h"
#include <windows.h>
namespace qpid {
namespace sys {
-SOCKET toFd(const IOHandlePrivate* h)
-{
- return h->fd;
-}
-
-IOHandle::IOHandle(IOHandlePrivate* h) :
- impl(h)
-{}
-
-IOHandle::~IOHandle() {
- delete impl;
-}
}} // namespace qpid::sys