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

Public Member Functions

 TcpCanonizeProvider ()
 
- Public Member Functions inherited from ndn::util::IpHostCanonizeProvider< boost::asio::ip::tcp >
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

virtual 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::util::IpHostCanonizeProvider< boost::asio::ip::tcp >
 IpHostCanonizeProvider (const std::string &baseScheme, uint32_t defaultUnicastPort=6363, uint32_t defaultMulticastPort=56363)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TcpCanonizeProvider()

ndn::util::TcpCanonizeProvider::TcpCanonizeProvider ( )
inline

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

Member Function Documentation

◆ checkAddress()

virtual std::pair<bool, std::string> ndn::util::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::util::IpHostCanonizeProvider< boost::asio::ip::tcp >.

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


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