utils: Porting several new IPv4 tracers from the old code. Extending ndn-app-delay-tracer
diff --git a/utils/tracers/ipv4-app-tracer.cc b/utils/tracers/ipv4-app-tracer.cc
index 57fb612..75c8b87 100644
--- a/utils/tracers/ipv4-app-tracer.cc
+++ b/utils/tracers/ipv4-app-tracer.cc
@@ -31,10 +31,9 @@
using namespace boost;
namespace ns3 {
-
-Ipv4AppTracer::Ipv4AppTracer (Ptr<Node> node, const std::string &appId)
- : m_appId (appId)
- , m_nodePtr (node)
+
+Ipv4AppTracer::Ipv4AppTracer (Ptr<Node> node)
+ : m_nodePtr (node)
{
m_node = boost::lexical_cast<string> (m_nodePtr->GetId ());
@@ -55,15 +54,6 @@
Config::Connect ("/NodeList/"+m_node+"/$ns3::Ipv4L3Protocol/LocalDeliver",
MakeCallback (&Ipv4AppTracer::Rx, this));
-
- // Config::Connect ("/NodeList/"+m_node+"/$ns3::Ipv4L3Protocol/Tx",
- // MakeCallback (&Ipv4AppTracer::Rx, this));
-
- // Config::Connect ("/NodeList/"+m_node+"/ApplicationList/"+m_appId+"/$ns3::PacketSink/Rx",
- // MakeCallback (&Ipv4AppTracer::InData, this));
-
- // Config::Connect ("/NodeList/"+m_node+"/ApplicationList/"+m_appId+"/$ns3::BulkSendApplication/Tx",
- // MakeCallback (&Ipv4AppTracer::OutData, this));
}