face/tcp: Fixing TcpChannel and TcpFace implementation and enable basic logging in both
Change-Id: If9a00c13caccbeb117204655ced293d49860d6e4
refs: #1134, #1133
diff --git a/daemon/face/tcp-channel.hpp b/daemon/face/tcp-channel.hpp
index bd0388a..3e3d956 100644
--- a/daemon/face/tcp-channel.hpp
+++ b/daemon/face/tcp-channel.hpp
@@ -91,7 +91,8 @@
handleConnection(const boost::system::error_code& error,
const shared_ptr<boost::asio::ip::tcp::socket>& socket,
const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onConnectFailed);
+ const ConnectFailedCallback& onConnectFailed,
+ bool remoteConnection);
void
handleSuccessfulConnect(const boost::system::error_code& error,
@@ -112,7 +113,8 @@
const shared_ptr<boost::asio::ip::tcp::socket>& socket,
const shared_ptr<boost::asio::monotonic_deadline_timer>& timer,
const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onConnectFailed);
+ const ConnectFailedCallback& onConnectFailed,
+ const shared_ptr<boost::asio::ip::tcp::resolver>& resolver);
private:
boost::asio::io_service& m_ioService;