summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/TCPIOPlugin.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-07-09 20:36:17 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-07-09 20:36:17 +0000
commit2212c5a5b56466491986220ddd6a3aa4e81ff4e4 (patch)
treeb1104abc063d7cf0d869ce7be74e5e84474d2c88 /cpp/src/qpid/sys/TCPIOPlugin.cpp
parent9575428feb2a81323f0426361830bc543eba29db (diff)
downloadqpid-python-2212c5a5b56466491986220ddd6a3aa4e81ff4e4.tar.gz
Some small changes which clean up header file inclusions
and generally start to tidy up the network layer so that it's a bit easier to implement new network transports git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675338 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/TCPIOPlugin.cpp')
-rw-r--r--cpp/src/qpid/sys/TCPIOPlugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/TCPIOPlugin.cpp b/cpp/src/qpid/sys/TCPIOPlugin.cpp
index e82a6a9102..4b661f1713 100644
--- a/cpp/src/qpid/sys/TCPIOPlugin.cpp
+++ b/cpp/src/qpid/sys/TCPIOPlugin.cpp
@@ -24,6 +24,7 @@
#include "AsynchIO.h"
#include "qpid/Plugin.h"
+#include "qpid/sys/Socket.h"
#include "qpid/broker/Broker.h"
#include "qpid/log/Statement.h"
@@ -112,7 +113,7 @@ void AsynchIOProtocolFactory::connect(
Poller::shared_ptr poller,
const std::string& host, int16_t port,
ConnectionCodec::Factory* fact,
- boost::function2<void, int, std::string> failed)
+ ConnectFailedCallback failed)
{
// Note that the following logic does not cause a memory leak.
// The allocated Socket is freed either by the AsynchConnector