all: InterestHeader and ContentObjectHeader refactoring to Interest and ContentObject
refs #29
diff --git a/model/ndn-content-object.h b/model/ndn-content-object.h
index db7bdcf..2022f2f 100644
--- a/model/ndn-content-object.h
+++ b/model/ndn-content-object.h
@@ -42,7 +42,7 @@
*
* Only few important fields are actually implemented in the simulation
*
- * ContentObjectHeader serializes/deserializes header up-to and including <Content> tags
+ * ContentObject serializes/deserializes header up-to and including <Content> tags
* Necessary closing tags should be added using ContentObjectTail
*
* Optimized and simplified formatting of Interest packets
@@ -127,7 +127,7 @@
Time m_timestamp;
};
-class ContentObjectHeader : public ContentObject { };
+typedef ContentObject ContentObjectHeader;
/**
* ContentObjectTail for compatibility with other packet formats
@@ -151,7 +151,7 @@
* @ingroup ndn-exceptions
* @brief Class for ContentObject parsing exception
*/
-class ContentObjectHeaderException {};
+class ContentObjectException {};
} // namespace ndn
} // namespace ns3