all: InterestHeader and ContentObjectHeader refactoring to Interest and ContentObject
refs #29
diff --git a/helper/ndn-header-helper.cc b/helper/ndn-header-helper.cc
index ee22b43..f9145cc 100644
--- a/helper/ndn-header-helper.cc
+++ b/helper/ndn-header-helper.cc
@@ -81,7 +81,7 @@
{
case HeaderHelper::INTEREST_NDNSIM:
{
- Ptr<InterestHeader> header = Create<InterestHeader> ();
+ Ptr<Interest> header = Create<Interest> ();
// Deserialization. Exception may be thrown
packet->RemoveHeader (*header);
@@ -92,7 +92,7 @@
}
case HeaderHelper::CONTENT_OBJECT_NDNSIM:
{
- Ptr<ContentObjectHeader> header = Create<ContentObjectHeader> ();
+ Ptr<ContentObject> header = Create<ContentObject> ();
// Deserialization. Exception may be thrown
packet->RemoveHeader (*header);
diff --git a/helper/ndn-header-helper.h b/helper/ndn-header-helper.h
index a5a4d2f..cce07dd 100644
--- a/helper/ndn-header-helper.h
+++ b/helper/ndn-header-helper.h
@@ -40,7 +40,7 @@
*
* Ndn doesn't really have a header, so we need this class to
* determine type of Ndn packet and return corresponent header class,
- * InterestHeader or ContentObjectHeader
+ * Interest or ContentObject
*
* Throws UnknownHeaderException if header type couldn't be determined
*/