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

#include <registered-prefix.hpp>

Inheritance diagram for ndn::RegisteredPrefix:
Collaboration diagram for ndn::RegisteredPrefix:

Public Types

typedef function< void(const nfd::ControlParameters &)> SuccessCallback
 a callback on command success More...
 
typedef function< void(uint32_t, const std::string &)> FailureCallback
 a callback on command failure More...
 

Public Member Functions

 RegisteredPrefix (const Name &prefix, const shared_ptr< InterestFilterRecord > &filter, const nfd::CommandOptions &options)
 
const NamegetPrefix () const
 
const shared_ptr< InterestFilterRecord > & getFilter () const
 
const nfd::CommandOptionsgetCommandOptions () const
 

Detailed Description

Definition at line 35 of file registered-prefix.hpp.

Member Typedef Documentation

§ SuccessCallback

a callback on command success

Definition at line 40 of file registered-prefix.hpp.

§ FailureCallback

typedef function<void(uint32_t,const std::string&)> ndn::RegisteredPrefix::FailureCallback

a callback on command failure

Definition at line 44 of file registered-prefix.hpp.

Constructor & Destructor Documentation

§ RegisteredPrefix()

ndn::RegisteredPrefix::RegisteredPrefix ( const Name prefix,
const shared_ptr< InterestFilterRecord > &  filter,
const nfd::CommandOptions options 
)
inline

Definition at line 46 of file registered-prefix.hpp.

Member Function Documentation

§ getPrefix()

const Name& ndn::RegisteredPrefix::getPrefix ( ) const
inline

Definition at line 56 of file registered-prefix.hpp.

§ getFilter()

const shared_ptr<InterestFilterRecord>& ndn::RegisteredPrefix::getFilter ( ) const
inline

Definition at line 62 of file registered-prefix.hpp.

§ getCommandOptions()

const nfd::CommandOptions& ndn::RegisteredPrefix::getCommandOptions ( ) const
inline

Definition at line 68 of file registered-prefix.hpp.


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