NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3::ndn::wire::ccnb::Data Class Reference

Routines to serialize/deserialize NDN Data packet in ccnb format. More...

#include <ccnb.h>

Inheritance diagram for ns3::ndn::wire::ccnb::Data:
Collaboration diagram for ns3::ndn::wire::ccnb::Data:

Public Member Functions

 Data (Ptr< ndn::Data > data)
 
Ptr< ndn::DataGetData ()
 
virtual TypeId GetInstanceTypeId (void) const
 
virtual void Print (std::ostream &os) const
 
virtual uint32_t GetSerializedSize (void) const
 
virtual void Serialize (Buffer::Iterator start) const
 
virtual uint32_t Deserialize (Buffer::Iterator start)
 

Static Public Member Functions

static Ptr< Packet > ToWire (Ptr< const ndn::Data > data)
 
static Ptr< ndn::DataFromWire (Ptr< Packet > packet)
 
static TypeId GetTypeId (void)
 

Detailed Description

Routines to serialize/deserialize NDN Data packet in ccnb format.

See also
http://www.ccnx.org/releases/latest/doc/technical/BinaryEncoding.html

Definition at line 66 of file ccnb.h.


The documentation for this class was generated from the following files: