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

Handle for a registered prefix. More...

#include <face.hpp>

Inheritance diagram for ndn::RegisteredPrefixHandle:
Collaboration diagram for ndn::RegisteredPrefixHandle:

Public Member Functions

 RegisteredPrefixHandle () noexcept=default
void unregister (const UnregisterPrefixSuccessCallback &onSuccess=nullptr, const UnregisterPrefixFailureCallback &onFailure=nullptr)
 Unregister the prefix. More...
- 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 prefix.

Definition at line 464 of file face.hpp.

Constructor & Destructor Documentation

◆ RegisteredPrefixHandle()

ndn::RegisteredPrefixHandle::RegisteredPrefixHandle ( )

Member Function Documentation

◆ unregister()

void ndn::RegisteredPrefixHandle::unregister ( const UnregisterPrefixSuccessCallback onSuccess = nullptr,
const UnregisterPrefixFailureCallback onFailure = nullptr 

Unregister the prefix.

Definition at line 303 of file face.cpp.

References ndn::InterestFilterHandle::InterestFilterHandle(), and nonstd::optional_lite::std11::move().

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