NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util::IpHostCanonizeProvider< Protocol > Class Template Reference
Inheritance diagram for ndn::util::IpHostCanonizeProvider< Protocol >:
Collaboration diagram for ndn::util::IpHostCanonizeProvider< Protocol >:

Public Member Functions

virtual std::set< std::string > getSchemes () const override
 
virtual bool isCanonical (const FaceUri &faceUri) const override
 
virtual void canonize (const FaceUri &faceUri, const FaceUri::CanonizeSuccessCallback &onSuccess, const FaceUri::CanonizeFailureCallback &onFailure, boost::asio::io_service &io, const time::nanoseconds &timeout) const override
 
- Public Member Functions inherited from ndn::util::CanonizeProvider
virtual ~CanonizeProvider ()=default
 

Protected Member Functions

 IpHostCanonizeProvider (const std::string &baseScheme, uint32_t defaultUnicastPort=6363, uint32_t defaultMulticastPort=56363)
 

Detailed Description

template<typename Protocol>
class ndn::util::IpHostCanonizeProvider< Protocol >

Definition at line 241 of file face-uri.cpp.

Constructor & Destructor Documentation

◆ IpHostCanonizeProvider()

template<typename Protocol>
ndn::util::IpHostCanonizeProvider< Protocol >::IpHostCanonizeProvider ( const std::string &  baseScheme,
uint32_t  defaultUnicastPort = 6363,
uint32_t  defaultMulticastPort = 56363 
)
inlineexplicitprotected

Definition at line 312 of file face-uri.cpp.

Member Function Documentation

◆ getSchemes()

template<typename Protocol>
virtual std::set<std::string> ndn::util::IpHostCanonizeProvider< Protocol >::getSchemes ( ) const
inlineoverridevirtual

Implements ndn::util::CanonizeProvider.

Definition at line 245 of file face-uri.cpp.

◆ isCanonical()

template<typename Protocol>
virtual bool ndn::util::IpHostCanonizeProvider< Protocol >::isCanonical ( const FaceUri faceUri) const
inlineoverridevirtual

Implements ndn::util::CanonizeProvider.

Definition at line 255 of file face-uri.cpp.

◆ canonize()

template<typename Protocol>
virtual void ndn::util::IpHostCanonizeProvider< Protocol >::canonize ( const FaceUri faceUri,
const FaceUri::CanonizeSuccessCallback onSuccess,
const FaceUri::CanonizeFailureCallback onFailure,
boost::asio::io_service &  io,
const time::nanoseconds &  timeout 
) const
inlineoverridevirtual

Implements ndn::util::CanonizeProvider.

Definition at line 280 of file face-uri.cpp.


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