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 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 102 of file face.hpp.

Constructor & Destructor Documentation

◆ OversizedPacketError()

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


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

Definition at line 54 of file face.cpp.

Member Data Documentation

◆ pktType

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

Definition at line 114 of file face.hpp.

◆ name

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

Definition at line 115 of file face.hpp.

◆ wireSize

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

Definition at line 116 of file face.hpp.

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