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

Exception thrown when attempting to send a packet over size limit. More...

#include <face.hpp>

Inheritance diagram for ndn::Face::OversizedPacketError:
Collaboration diagram for ndn::Face::OversizedPacketError:

Public Member Functions

 OversizedPacketError (char pktType, const Name &name, size_t wireSize)
 Constructor. More...
 
- Public Member Functions inherited from ndn::Face::Error
 Error (const std::string &what)
 

Public Attributes

const char pktType
 
const Name name
 
const size_t wireSize
 

Detailed Description

Exception thrown when attempting to send a packet over size limit.

Definition at line 106 of file face.hpp.

Constructor & Destructor Documentation

◆ OversizedPacketError()

ndn::Face::OversizedPacketError::OversizedPacketError ( char  pktType,
const Name name,
size_t  wireSize 
)

Constructor.

Parameters
pktTypepacket type, 'I' for Interest, 'D' for Data, 'N' for Nack
namepacket name
wireSizewire encoding size

Definition at line 55 of file face.cpp.

Member Data Documentation

◆ pktType

const char ndn::Face::OversizedPacketError::pktType

Definition at line 118 of file face.hpp.

◆ name

const Name ndn::Face::OversizedPacketError::name

Definition at line 119 of file face.hpp.

◆ wireSize

const size_t ndn::Face::OversizedPacketError::wireSize

Definition at line 120 of file face.hpp.


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