NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::TcpCanonizeProvider Class Reference
Inheritance diagram for ndn::TcpCanonizeProvider:
Collaboration diagram for ndn::TcpCanonizeProvider:

Public Member Functions

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

Protected Member Functions

std::pair< bool, std::string > checkAddress (const dns::IpAddress &ipAddress) const override
 when overriden in a subclass, check the IP address is allowable More...
 
- Protected Member Functions inherited from ndn::IpHostCanonizeProvider< boost::asio::ip::tcp >
 IpHostCanonizeProvider (const std::string &baseScheme, uint16_t defaultUnicastPort=6363, uint16_t defaultMulticastPort=56363)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TcpCanonizeProvider()

ndn::TcpCanonizeProvider::TcpCanonizeProvider ( )
inline

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

Member Function Documentation

◆ checkAddress()

std::pair<bool, std::string> ndn::TcpCanonizeProvider::checkAddress ( const dns::IpAddress ipAddress) const
inlineoverrideprotectedvirtual

when overriden in a subclass, check the IP address is allowable

Returns
(true,ignored) if the address is allowable; (false,reason) if the address is not allowable.

Reimplemented from ndn::IpHostCanonizeProvider< boost::asio::ip::tcp >.

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


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