face: Incrementing Face counters
Change-Id: Ia1d7917bb52cf01ab2ff304638bc9f6cbdb2626f
Refs: #1178
diff --git a/daemon/face/multicast-udp-face.cpp b/daemon/face/multicast-udp-face.cpp
index e56c147..49146ac 100644
--- a/daemon/face/multicast-udp-face.cpp
+++ b/daemon/face/multicast-udp-face.cpp
@@ -28,6 +28,8 @@
void
MulticastUdpFace::sendInterest(const Interest& interest)
{
+ onSendInterest(interest);
+
NFD_LOG_DEBUG("Sending interest");
m_socket->async_send_to(boost::asio::buffer(interest.wireEncode().wire(),
interest.wireEncode().size()),
@@ -40,6 +42,10 @@
void
MulticastUdpFace::sendData(const Data& data)
{
+ /// \todo After this method implements duplicate suppression, onSendData event should
+ /// be triggered only when data is actually sent out
+ onSendData(data);
+
NFD_LOG_DEBUG("Sending data");
m_socket->async_send_to(boost::asio::buffer(data.wireEncode().wire(),
data.wireEncode().size()),