A handle of registered prefix. More...
#include <face.hpp>
Public Member Functions | |
RegisteredPrefixHandle () noexcept | |
RegisteredPrefixHandle (Face &face, const RegisteredPrefixId *id) | |
operator const RegisteredPrefixId * () const noexcept | |
void | unregister (const UnregisterPrefixSuccessCallback &onSuccess=nullptr, const UnregisterPrefixFailureCallback &onFailure=nullptr) |
Unregister the prefix. More... | |
Public Member Functions inherited from ndn::detail::CancelHandle | |
CancelHandle () noexcept=default | |
CancelHandle (function< void()> cancel) | |
void | cancel () const |
Cancel the operation. More... | |
|
inlinenoexcept |
ndn::RegisteredPrefixHandle::RegisteredPrefixHandle | ( | Face & | face, |
const RegisteredPrefixId * | id | ||
) |
Definition at line 346 of file face.cpp.
References ndn::Face::unregisterPrefix().
|
inlinenoexcept |
void ndn::RegisteredPrefixHandle::unregister | ( | const UnregisterPrefixSuccessCallback & | onSuccess = nullptr , |
const UnregisterPrefixFailureCallback & | onFailure = nullptr |
||
) |
Unregister the prefix.
Definition at line 356 of file face.cpp.
References ndn::Face::unregisterPrefix().