face: Implementing new "isOnDemand" flag
This flags replaces isPermanent flag in datagram faces, but with the
reversed logic (isPermanent = !isOnDemand)
Change-Id: I37ba604e5f105ca95a79a08b8cfc3d640df8b412
Refs: #1376
diff --git a/daemon/face/tcp-face.hpp b/daemon/face/tcp-face.hpp
index 1686403..92ab627 100644
--- a/daemon/face/tcp-face.hpp
+++ b/daemon/face/tcp-face.hpp
@@ -22,7 +22,7 @@
typedef boost::asio::ip::tcp protocol;
explicit
- TcpFace(const shared_ptr<protocol::socket>& socket);
+ TcpFace(const shared_ptr<protocol::socket>& socket, bool isOnDemand);
};
//
@@ -38,7 +38,7 @@
typedef boost::asio::ip::tcp protocol;
explicit
- TcpLocalFace(const shared_ptr<protocol::socket>& socket);
+ TcpLocalFace(const shared_ptr<protocol::socket>& socket, bool isOnDemand);
};