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

Handle for a registered Interest filter. More...

#include <face.hpp>

Inheritance diagram for ndn::InterestFilterHandle:
Collaboration diagram for ndn::InterestFilterHandle:

Public Member Functions

 InterestFilterHandle () noexcept=default
 
- Public Member Functions inherited from ndn::detail::CancelHandle
 CancelHandle () noexcept
 
 CancelHandle (std::function< void()> cancel) noexcept
 
void cancel () const
 Cancel the operation. More...
 

Detailed Description

Handle for a registered Interest filter.

InterestFilterHandle hdl = face.setInterestFilter(prefix, onInterest);
hdl.cancel(); // unset the Interest filter

Definition at line 512 of file face.hpp.

Constructor & Destructor Documentation

◆ InterestFilterHandle()

ndn::InterestFilterHandle::InterestFilterHandle ( )
defaultnoexcept

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