ndn::Face::OversizedPacketError Class Reference

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

#include <ndn-cxx/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 Name name
 
const char pktType
 
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 
)

Constructor.

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

Definition at line 49 of file face.cpp.

Member Data Documentation

◆ name

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

Definition at line 115 of file face.hpp.

◆ pktType

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

Definition at line 114 of file face.hpp.

◆ wireSize

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

Definition at line 116 of file face.hpp.