ndn::PendingInterestHandle Class Reference

Handle for a pending Interest. More...

#include <ndn-cxx/face.hpp>

+ Inheritance diagram for ndn::PendingInterestHandle:
+ Collaboration diagram for ndn::PendingInterestHandle:

Public Member Functions

 PendingInterestHandle () noexcept=default
 
void cancel () const
 Cancel the operation. More...
 

Detailed Description

Handle for a pending Interest.

PendingInterestHandle hdl = face.expressInterest(interest, satisfyCb, nackCb, timeoutCb);
hdl.cancel(); // cancel the pending Interest
PendingInterestHandle() noexcept=default

Definition at line 490 of file face.hpp.

Constructor & Destructor Documentation

◆ PendingInterestHandle()

ndn::PendingInterestHandle::PendingInterestHandle ( )
defaultnoexcept

Member Function Documentation

◆ cancel()

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

Cancel the operation.

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