![]() |
Botcraft 1.21.4
|
#include <DNSQuestion.hpp>
Public Member Functions | |
const std::vector< std::string > & | GetNameLabels () const |
const unsigned short | GetTypeCode () const |
const unsigned short | GetClassCode () const |
void | SetNameLabels (const std::vector< std::string > &name_labels_) |
void | SetTypeCode (const unsigned short type_code_) |
void | SetClassCode (const unsigned short class_code_) |
![]() | |
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 |
Definition at line 9 of file DNSQuestion.hpp.
|
inline |
Definition at line 22 of file DNSQuestion.hpp.
References class_code.
|
inline |
Definition at line 12 of file DNSQuestion.hpp.
References name_labels.
|
inline |
Definition at line 17 of file DNSQuestion.hpp.
References type_code.
|
inlineoverrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 44 of file DNSQuestion.hpp.
References class_code, name_labels, ProtocolCraft::ReadRawString(), and type_code.
|
inlineoverrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 73 of file DNSQuestion.hpp.
References class_code, name_labels, and type_code.
|
inline |
Definition at line 38 of file DNSQuestion.hpp.
References class_code.
Referenced by Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
inline |
Definition at line 28 of file DNSQuestion.hpp.
References name_labels.
Referenced by Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
inline |
Definition at line 33 of file DNSQuestion.hpp.
References type_code.
Referenced by Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
inlineoverrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 60 of file DNSQuestion.hpp.
References class_code, name_labels, type_code, and ProtocolCraft::WriteRawString().
|
private |
Definition at line 93 of file DNSQuestion.hpp.
Referenced by GetClassCode(), ReadImpl(), SerializeImpl(), SetClassCode(), and WriteImpl().
|
private |
Definition at line 91 of file DNSQuestion.hpp.
Referenced by GetNameLabels(), ReadImpl(), SerializeImpl(), SetNameLabels(), and WriteImpl().
|
private |
Definition at line 92 of file DNSQuestion.hpp.
Referenced by GetTypeCode(), ReadImpl(), SerializeImpl(), SetTypeCode(), and WriteImpl().