Handle for a registered prefix. More...
#include <face.hpp>
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... | |
|
defaultnoexcept |
Referenced by ndn::extractLpLocalFields().
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().