ndn::RegisteredPrefixHandle Class Reference

Handle for a registered prefix. More...

#include <ndn-cxx/face.hpp>

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

Public Member Functions

 RegisteredPrefixHandle () noexcept=default
 
void cancel () const
 Cancel the operation. More...
 
void unregister (const UnregisterPrefixSuccessCallback &onSuccess=nullptr, const UnregisterPrefixFailureCallback &onFailure=nullptr)
 Unregister the prefix. More...
 

Detailed Description

Handle for a registered prefix.

Definition at line 520 of file face.hpp.

Constructor & Destructor Documentation

◆ RegisteredPrefixHandle()

ndn::RegisteredPrefixHandle::RegisteredPrefixHandle ( )
defaultnoexcept

Member Function Documentation

◆ cancel()

void ndn::detail::CancelHandle::cancel ( ) const
inherited

Cancel the operation.

Definition at line 27 of file cancel-handle.cpp.

◆ unregister()

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

Unregister the prefix.

Definition at line 364 of file face.cpp.