NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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
 
virtual bool isCanonical (const FaceUri &faceUri) const
 
virtual void canonize (const FaceUri &faceUri, const FaceUri::CanonizeSuccessCallback &onSuccess, const FaceUri::CanonizeFailureCallback &onFailure, boost::asio::io_service &io, const time::nanoseconds &timeout) const
 
- Public Member Functions inherited from ndn::util::CanonizeProvider
virtual ~CanonizeProvider ()
 

Protected Member Functions

virtual std::pair< bool, std::string > checkAddress (const dns::IpAddress &ipAddress) const
 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 387 of file face-uri.cpp.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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 398 of file face-uri.cpp.


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