face: Implementation of encode/decode of LocalControlHeader
LocalControlHeader can only be used on faces that are derived from
LocalFace. UnixStreamFace is directly inherited from LocalFace,
TCP face has two specializations: generic TcpFace (strictly not local),
and LocalTcpFace.
refs #1213
Change-Id: I8a158c3bc4bb929eedd15757cfddecc0d1049f9f
diff --git a/daemon/mgmt/internal-face.cpp b/daemon/mgmt/internal-face.cpp
index 1f1a6cb..707ee30 100644
--- a/daemon/mgmt/internal-face.cpp
+++ b/daemon/mgmt/internal-face.cpp
@@ -12,7 +12,7 @@
InternalFace::InternalFace()
{
-
+ setLocal(true);
}
void
@@ -98,12 +98,6 @@
throw Error("Internal face cannot be closed");
}
-bool
-InternalFace::isLocal() const
-{
- return true;
-}
-
void
InternalFace::setInterestFilter(const Name& filter,
OnInterest onInterest)