A handle of registered prefix. More...
#include <face.hpp>
Public Member Functions | |
RegisteredPrefixHandle () noexcept | |
RegisteredPrefixHandle (Face &face, const RegisteredPrefixId *id) | |
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... | |
|
inlinenoexcept |
ndn::RegisteredPrefixHandle::RegisteredPrefixHandle | ( | Face & | face, |
const RegisteredPrefixId * | id | ||
) |
void ndn::RegisteredPrefixHandle::unregister | ( | const UnregisterPrefixSuccessCallback & | onSuccess = nullptr , |
const UnregisterPrefixFailureCallback & | onFailure = nullptr |
||
) |