esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
ndnph::detail::InterestObj Class Reference

Fields in Interest or Nack. More...

#include <interest.hpp>

Inherits ndnph::InRegion.

Public Types

enum  { DefaultLifetime = 4000 , MaxHopLimit = 0xFF }
 

Public Member Functions

 InterestObj (Region &region)
 
- Public Member Functions inherited from ndnph::WithRegion
 WithRegion (WithRegion &&)=default
 

Public Attributes

InterestParamsparams = nullptr
 
Name name
 
Name fwHint
 
uint32_t nonce = 0
 
uint16_t lifetime = DefaultLifetime
 
uint8_t hopLimit = MaxHopLimit
 
bool canBePrefix: 1
 
bool mustBeFresh: 1
 
uint8_t nackReason: 3
 

Additional Inherited Members

- Protected Member Functions inherited from ndnph::InRegion
 InRegion (Region &region)
 
- Protected Member Functions inherited from ndnph::WithRegion
 WithRegion (Region &region)
 
 WithRegion (const WithRegion &)=delete
 
WithRegionoperator= (const WithRegion &)=delete
 
- Protected Attributes inherited from ndnph::WithRegion
Regionregion
 

Detailed Description

Fields in Interest or Nack.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DefaultLifetime 
MaxHopLimit 

Constructor & Destructor Documentation

◆ InterestObj()

ndnph::detail::InterestObj::InterestObj ( Region region)
inlineexplicit

Member Data Documentation

◆ canBePrefix

bool ndnph::detail::InterestObj::canBePrefix

◆ fwHint

Name ndnph::detail::InterestObj::fwHint

◆ hopLimit

uint8_t ndnph::detail::InterestObj::hopLimit = MaxHopLimit

◆ lifetime

uint16_t ndnph::detail::InterestObj::lifetime = DefaultLifetime

◆ mustBeFresh

bool ndnph::detail::InterestObj::mustBeFresh

◆ nackReason

uint8_t ndnph::detail::InterestObj::nackReason

◆ name

Name ndnph::detail::InterestObj::name

◆ nonce

uint32_t ndnph::detail::InterestObj::nonce = 0

◆ params

InterestParams* ndnph::detail::InterestObj::params = nullptr

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