|  | Botcraft 1.21.10
    | 
#include <DNSResourceRecord.hpp>
 
  
| Public Member Functions | |
| const std::vector< std::string > & | GetNameLabels () const | 
| const unsigned short | GetTypeCode () const | 
| const unsigned short | GetClassCode () const | 
| const unsigned int | GetTTL () const | 
| const unsigned short | GetRDLength () const | 
| const std::vector< unsigned char > & | GetRData () const | 
| void | SetNameLabels (const std::vector< std::string > &name_labels_) | 
| void | SetTypeCode (const unsigned short type_code_) | 
| void | SetClassCode (const unsigned short class_code_) | 
| void | SetTTL (const unsigned int ttl_) | 
| void | SetRDLength (const unsigned short rd_length_) | 
| void | SetRData (const std::vector< unsigned char > &rdata_) | 
|  Public Member Functions inherited from ProtocolCraft::NetworkType | |
| virtual | ~NetworkType () | 
| virtual void | Read (ReadIterator &iter, size_t &length) | 
| virtual void | Write (WriteContainer &container) const | 
| virtual Json::Value | Serialize () const | 
| Protected Member Functions | |
| virtual void | ReadImpl (ReadIterator &iter, size_t &length) override | 
| virtual void | WriteImpl (WriteContainer &container) const override | 
| virtual Json::Value | SerializeImpl () const override | 
| Private Attributes | |
| std::vector< std::string > | name_labels | 
| unsigned short | type_code | 
| unsigned short | class_code | 
| unsigned int | ttl | 
| unsigned short | rd_length | 
| std::vector< unsigned char > | rdata | 
Definition at line 9 of file DNSResourceRecord.hpp.
| 
 | inline | 
Definition at line 22 of file DNSResourceRecord.hpp.
References class_code.
| 
 | inline | 
Definition at line 12 of file DNSResourceRecord.hpp.
References name_labels.
| 
 | inline | 
Definition at line 37 of file DNSResourceRecord.hpp.
References rdata.
| 
 | inline | 
Definition at line 32 of file DNSResourceRecord.hpp.
References rd_length.
| 
 | inline | 
Definition at line 27 of file DNSResourceRecord.hpp.
References ttl.
| 
 | inline | 
Definition at line 17 of file DNSResourceRecord.hpp.
References type_code.
| 
 | inlineoverrideprotectedvirtual | 
Implements ProtocolCraft::NetworkType.
Definition at line 74 of file DNSResourceRecord.hpp.
References class_code, name_labels, rd_length, rdata, ProtocolCraft::ReadByteArray(), ProtocolCraft::ReadRawString(), ttl, and type_code.
| 
 | inlineoverrideprotectedvirtual | 
Implements ProtocolCraft::NetworkType.
Definition at line 124 of file DNSResourceRecord.hpp.
References class_code, name_labels, rd_length, rdata, ttl, and type_code.
| 
 | inline | 
Definition at line 53 of file DNSResourceRecord.hpp.
References class_code.
| 
 | inline | 
Definition at line 43 of file DNSResourceRecord.hpp.
References name_labels.
| 
 | inline | 
Definition at line 68 of file DNSResourceRecord.hpp.
References rdata.
| 
 | inline | 
Definition at line 63 of file DNSResourceRecord.hpp.
References rd_length.
| 
 | inline | 
Definition at line 58 of file DNSResourceRecord.hpp.
References ttl.
| 
 | inline | 
Definition at line 48 of file DNSResourceRecord.hpp.
References type_code.
| 
 | inlineoverrideprotectedvirtual | 
Implements ProtocolCraft::NetworkType.
Definition at line 107 of file DNSResourceRecord.hpp.
References class_code, name_labels, rd_length, rdata, ttl, type_code, ProtocolCraft::WriteByteArray(), and ProtocolCraft::WriteRawString().
| 
 | private | 
Definition at line 146 of file DNSResourceRecord.hpp.
Referenced by GetClassCode(), ReadImpl(), SerializeImpl(), SetClassCode(), and WriteImpl().
| 
 | private | 
Definition at line 144 of file DNSResourceRecord.hpp.
Referenced by GetNameLabels(), ReadImpl(), SerializeImpl(), SetNameLabels(), and WriteImpl().
| 
 | private | 
Definition at line 148 of file DNSResourceRecord.hpp.
Referenced by GetRDLength(), ReadImpl(), SerializeImpl(), SetRDLength(), and WriteImpl().
| 
 | private | 
Definition at line 149 of file DNSResourceRecord.hpp.
Referenced by GetRData(), ReadImpl(), SerializeImpl(), SetRData(), and WriteImpl().
| 
 | private | 
Definition at line 147 of file DNSResourceRecord.hpp.
Referenced by GetTTL(), ReadImpl(), SerializeImpl(), SetTTL(), and WriteImpl().
| 
 | private | 
Definition at line 145 of file DNSResourceRecord.hpp.
Referenced by GetTypeCode(), ReadImpl(), SerializeImpl(), SetTypeCode(), and WriteImpl().