ndn::InterestFilterHandle Class Reference

Handle for a registered Interest filter. More...

#include <ndn-cxx/face.hpp>

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

Public Member Functions

 InterestFilterHandle () noexcept=default
 
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
InterestFilterHandle() noexcept=default

Definition at line 565 of file face.hpp.

Constructor & Destructor Documentation

◆ InterestFilterHandle()

ndn::InterestFilterHandle::InterestFilterHandle ( )
defaultnoexcept

Member Function Documentation

◆ cancel()

void ndn::detail::CancelHandle::cancel ( ) const
inherited

Cancel the operation.

Definition at line 28 of file cancel-handle.cpp.