From 18fd44d23d475bb9e928cd1371cd5c9b10ef8120 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 24 Oct 2012 05:51:31 +0000 Subject: 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@1401559 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/DispatcherTest.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/src/tests/DispatcherTest.cpp') diff --git a/qpid/cpp/src/tests/DispatcherTest.cpp b/qpid/cpp/src/tests/DispatcherTest.cpp index e1691db584..7312fe8d2e 100644 --- a/qpid/cpp/src/tests/DispatcherTest.cpp +++ b/qpid/cpp/src/tests/DispatcherTest.cpp @@ -20,7 +20,6 @@ */ #include "qpid/sys/Poller.h" -#include "qpid/sys/IOHandle.h" #include "qpid/sys/Dispatcher.h" #include "qpid/sys/DispatchHandle.h" #include "qpid/sys/posix/PrivatePosix.h" @@ -147,8 +146,8 @@ int main(int /*argc*/, char** /*argv*/) for (int i = 0; i < 8; i++) testString += testString; - PosixIOHandle f0(sv[0]); - PosixIOHandle f1(sv[1]); + IOHandle f0(sv[0]); + IOHandle f1(sv[1]); rh = new DispatchHandleRef(f0, boost::bind(reader, _1, sv[0]), 0, 0); wh = new DispatchHandleRef(f1, 0, boost::bind(writer, _1, sv[1], testString), 0); -- cgit v1.2.1