NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::PendingInterestHandle Class Reference

Handle for a pending Interest. More...

#include <face.hpp>

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

Public Member Functions

 PendingInterestHandle () noexcept=default
 
- Public Member Functions inherited from ndn::detail::CancelHandle
 CancelHandle () noexcept
 
 CancelHandle (std::function< void()> cancel) noexcept
 
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

Definition at line 437 of file face.hpp.

Constructor & Destructor Documentation

◆ PendingInterestHandle()

ndn::PendingInterestHandle::PendingInterestHandle ( )
defaultnoexcept

The documentation for this class was generated from the following files: