ndn-cxx: NDN C++ Library 0.9.0-33-g832ea91d
Loading...
Searching...
No Matches
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.
 

Detailed Description

Handle for a pending Interest.

PendingInterestHandle hdl = face.expressInterest(interest, satisfyCb, nackCb, timeoutCb);
hdl.cancel(); // cancel the pending Interest
Handle for a pending Interest.
Definition face.hpp:484
void cancel() const
Cancel the operation.

Definition at line 483 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 27 of file cancel-handle.cpp.