face: cleanup log messages in all faces and print fail reason
Change-Id: I405198b375a0317663d29810ee87922a19edccaa
Refs: #2450
diff --git a/daemon/face/null-face.hpp b/daemon/face/null-face.hpp
index 3dae571..a4e3977 100644
--- a/daemon/face/null-face.hpp
+++ b/daemon/face/null-face.hpp
@@ -39,20 +39,14 @@
explicit
NullFace(const FaceUri& uri = FaceUri("null://"));
- virtual void
- sendInterest(const Interest& interest);
+ void
+ sendInterest(const Interest& interest) DECL_OVERRIDE;
- /// send a Data
- virtual void
- sendData(const Data& data);
+ void
+ sendData(const Data& data) DECL_OVERRIDE;
- /** \brief Close the face
- *
- * This terminates all communication on the face and cause
- * onFail() method event to be invoked
- */
- virtual void
- close();
+ void
+ close() DECL_OVERRIDE;
};
} // namespace nfd