A handle of registered prefix. More...
#include <ndn-cxx/face.hpp>
Public Member Functions | |
RegisteredPrefixHandle () noexcept | |
RegisteredPrefixHandle (Face &face, const RegisteredPrefixId *id) | |
void | cancel () const |
Cancel the operation. More... | |
operator const RegisteredPrefixId * () const noexcept | |
void | unregister (const UnregisterPrefixSuccessCallback &onSuccess=nullptr, const UnregisterPrefixFailureCallback &onFailure=nullptr) |
Unregister the prefix. More... | |
|
inlinenoexcept |
ndn::RegisteredPrefixHandle::RegisteredPrefixHandle | ( | Face & | face, |
const RegisteredPrefixId * | id | ||
) |
|
inherited |
Cancel the operation.
Definition at line 33 of file cancel-handle.cpp.
|
inlinenoexcept |
void ndn::RegisteredPrefixHandle::unregister | ( | const UnregisterPrefixSuccessCallback & | onSuccess = nullptr , |
const UnregisterPrefixFailureCallback & | onFailure = nullptr |
||
) |