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 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 106 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 49 of file face.cpp.

Member Data Documentation

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

Definition at line 119 of file face.hpp.

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

Definition at line 118 of file face.hpp.

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

Definition at line 120 of file face.hpp.