NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
in-memory-storage-entry.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
23 
24 namespace ndn {
25 namespace util {
26 
27 void
29 {
30  m_dataPacket.reset();
31 }
32 
33 void
35 {
36  m_dataPacket = data.shared_from_this();
37 }
38 
39 } // namespace util
40 } // namespace ndn
Copyright (c) 2011-2015 Regents of the University of California.
void release()
Releases reference counts on shared objects.
represents a Data packet
Definition: data.hpp:39
void setData(const Data &data)
Changes the content of in-memory storage entry.