face/tcp: Implementing accepting and establishing connections with TCP Channel
refs: #1132, #1133, #1134, #1135
Change-Id: I8878784059fd962187bfcdd23b5adcaf9135cf4e
diff --git a/daemon/face/tcp-channel-factory.hpp b/daemon/face/tcp-channel-factory.hpp
index 04932ca..1baeb58 100644
--- a/daemon/face/tcp-channel-factory.hpp
+++ b/daemon/face/tcp-channel-factory.hpp
@@ -23,6 +23,8 @@
Error(const std::string& what) : ChannelFactory::Error(what) {}
};
+ TcpChannelFactory(boost::asio::io_service& ioService);
+
/**
* \brief Create TCP-based channel using tcp::Endpoint
*
@@ -66,6 +68,9 @@
*/
shared_ptr<TcpChannel>
find(const tcp::Endpoint& localEndpoint);
+
+private:
+ boost::asio::io_service& m_ioService;
};
} // namespace ndn