NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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 111 of file face.hpp.

Constructor & Destructor Documentation

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

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

Definition at line 123 of file face.hpp.

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

Definition at line 124 of file face.hpp.

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

Definition at line 125 of file face.hpp.


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