Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Public Types | Public Member Functions | Friends | List of all members
transport::core::PendingInterest Class Reference

Public Types

using Ptr = utils::ObjectPool< PendingInterest >::Ptr
 

Public Member Functions

 PendingInterest (Interest::Ptr &&interest, std::unique_ptr< asio::steady_timer > &&timer)
 
 PendingInterest (Interest::Ptr &&interest, OnContentObjectCallback &&on_content_object, OnInterestTimeoutCallback &&on_interest_timeout, std::unique_ptr< asio::steady_timer > &&timer)
 
template<typename Handler >
TRANSPORT_ALWAYS_INLINE void startCountdown (Handler &&cb)
 
TRANSPORT_ALWAYS_INLINE void cancelTimer ()
 
TRANSPORT_ALWAYS_INLINE Interest::Ptr && getInterest ()
 
TRANSPORT_ALWAYS_INLINE void setInterest (Interest::Ptr &interest)
 
const TRANSPORT_ALWAYS_INLINE OnContentObjectCallback & getOnDataCallback () const
 
TRANSPORT_ALWAYS_INLINE void setOnContentObjectCallback (OnContentObjectCallback &&on_content_object)
 
const TRANSPORT_ALWAYS_INLINE OnInterestTimeoutCallback & getOnTimeoutCallback () const
 
TRANSPORT_ALWAYS_INLINE void setOnTimeoutCallback (OnInterestTimeoutCallback &&on_interest_timeout)
 

Friends

class Portal
 

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