face: UnixStream{Face,Channel,ChannelFactory} implementation.
refs: #1174
Change-Id: I14d1e357c96a02995355e7970323fe40847580aa
diff --git a/daemon/face/tcp-channel-factory.hpp b/daemon/face/tcp-channel-factory.hpp
index 1a26738..171c24f 100644
--- a/daemon/face/tcp-channel-factory.hpp
+++ b/daemon/face/tcp-channel-factory.hpp
@@ -20,9 +20,13 @@
*/
struct Error : public ChannelFactory<tcp::Endpoint, TcpChannel>::Error
{
- Error(const std::string& what) : ChannelFactory<tcp::Endpoint, TcpChannel>::Error(what) {}
+ Error(const std::string& what)
+ : ChannelFactory<tcp::Endpoint, TcpChannel>::Error(what)
+ {
+ }
};
+ explicit
TcpChannelFactory(boost::asio::io_service& ioService);
/**
@@ -58,6 +62,7 @@
shared_ptr<TcpChannel>
create(const std::string& localHost, const std::string& localPort);
+private:
/**
* \brief Look up TcpChannel using specified local endpoint
*
@@ -68,7 +73,7 @@
*/
shared_ptr<TcpChannel>
find(const tcp::Endpoint& localEndpoint);
-
+
private:
boost::asio::io_service& m_ioService;
};