NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::CommandInterestGenerator Class Reference

Helper class to generate CommandInterests. More...

#include <command-interest-generator.hpp>

Collaboration diagram for ndn::CommandInterestGenerator:

Public Member Functions

 CommandInterestGenerator ()
 
virtual ~CommandInterestGenerator ()
 
void generate (Interest &interest, const Name &certificateName=Name())
 
void generateWithIdentity (Interest &interest, const Name &identity)
 

Static Public Attributes

static const Name DEFAULT_CERTIFICATE_NAME
 

Detailed Description

Helper class to generate CommandInterests.

Deprecated:
Use SignedInterest (generated by KeyChain) instead. See KeyChain::sign and KeyChain::signByIdentity methods.
See also
http://redmine.named-data.net/projects/nfd/wiki/Command_Interests

Definition at line 40 of file command-interest-generator.hpp.

Constructor & Destructor Documentation

ndn::CommandInterestGenerator::CommandInterestGenerator ( )
inline

Definition at line 45 of file command-interest-generator.hpp.

virtual ndn::CommandInterestGenerator::~CommandInterestGenerator ( )
inlinevirtual

Definition at line 51 of file command-interest-generator.hpp.

References generate(), generateWithIdentity(), and ns3::ndn::Name.

Member Function Documentation

void ndn::CommandInterestGenerator::generate ( Interest interest,
const Name certificateName = Name() 
)
inline
void ndn::CommandInterestGenerator::generateWithIdentity ( Interest interest,
const Name identity 
)
inline

Member Data Documentation

const Name ndn::CommandInterestGenerator::DEFAULT_CERTIFICATE_NAME
static

Definition at line 43 of file command-interest-generator.hpp.


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