face: Implementing close operation and many related fixes in TcpFace and TcpChannel
Change-Id: Ib6b751e80454e149bf94f3867663d5e705cbf4a0
refs: #1250, #1248
diff --git a/daemon/mgmt/internal-face.cpp b/daemon/mgmt/internal-face.cpp
index 7af328f..32c03a1 100644
--- a/daemon/mgmt/internal-face.cpp
+++ b/daemon/mgmt/internal-face.cpp
@@ -90,10 +90,16 @@
void
InternalFace::sendData(const Data& data)
{
-
}
void
+InternalFace::close()
+{
+ throw Error("Internal face cannot be closed");
+}
+
+
+void
InternalFace::setInterestFilter(const Name& filter,
OnInterest onInterest)
{