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
 
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 517 of file face.hpp.

Constructor & Destructor Documentation

◆ RegisteredPrefixHandle()

ndn::RegisteredPrefixHandle::RegisteredPrefixHandle ( )
inlinenoexcept

Definition at line 520 of file face.hpp.

Member Function Documentation

◆ cancel()

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

Cancel the operation.

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

◆ unregister()

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

Unregister the prefix.

Definition at line 366 of file face.cpp.