PcapPlusPlus
pcpp::TLVRecordBuilder Class Reference

#include <TLVData.h>

Inheritance diagram for pcpp::TLVRecordBuilder:
pcpp::DhcpOptionBuilder pcpp::IPv4OptionBuilder pcpp::IPv6TLVOptionHeader::IPv6TLVOptionBuilder pcpp::RadiusAttributeBuilder pcpp::TcpOptionBuilder

Detailed Description

A base class for building Type-Length-Value (TLV) records. This builder receives the record parameters in its c'tor, builds the record raw buffer and provides a method to build a TLVRecord object out of it. Please notice this is a base class that lacks the capability of actually building TLVRecord objects and also cannot be instantiated. The reason for that is that different protocols build TLV records in different ways, so these missing capabilities will be implemented by the derived classes which are specific to each protocol. This class only provides the common infrastructure that will be used by them