![]() |
Botcraft 1.21.4
|
#include <DNSSrvData.hpp>
Public Member Functions | |
const unsigned short | GetPriority () const |
const unsigned short | GetWeight () const |
const unsigned short | GetPort () const |
const std::vector< std::string > & | GetNameLabels () const |
void | SetPriority (const unsigned short priority_) |
void | SetWeight (const unsigned short weight_) |
void | SetPort (const unsigned short port_) |
void | SetNameLabels (const std::vector< std::string > &name_labels_) |
![]() | |
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 | |
unsigned short | priority |
unsigned short | weight |
unsigned short | port |
std::vector< std::string > | name_labels |
Definition at line 9 of file DNSSrvData.hpp.
|
inline |
Definition at line 27 of file DNSSrvData.hpp.
References name_labels.
Referenced by Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
inline |
Definition at line 22 of file DNSSrvData.hpp.
References port.
Referenced by Botcraft::TCP_Com::SetIPAndPortFromAddress().
|
inline |
Definition at line 12 of file DNSSrvData.hpp.
References priority.
|
inline |
Definition at line 17 of file DNSSrvData.hpp.
References weight.
|
inlineoverrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 54 of file DNSSrvData.hpp.
References name_labels, port, priority, ProtocolCraft::ReadRawString(), and weight.
|
inlineoverrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 86 of file DNSSrvData.hpp.
References name_labels, port, priority, and weight.
|
inline |
Definition at line 48 of file DNSSrvData.hpp.
References name_labels.
|
inline |
Definition at line 43 of file DNSSrvData.hpp.
References port.
|
inline |
Definition at line 33 of file DNSSrvData.hpp.
References priority.
|
inline |
Definition at line 38 of file DNSSrvData.hpp.
References weight.
|
inlineoverrideprotectedvirtual |
Implements ProtocolCraft::NetworkType.
Definition at line 71 of file DNSSrvData.hpp.
References name_labels, port, priority, weight, and ProtocolCraft::WriteRawString().
|
private |
Definition at line 108 of file DNSSrvData.hpp.
Referenced by GetNameLabels(), ReadImpl(), SerializeImpl(), SetNameLabels(), and WriteImpl().
|
private |
Definition at line 107 of file DNSSrvData.hpp.
Referenced by GetPort(), ReadImpl(), SerializeImpl(), SetPort(), and WriteImpl().
|
private |
Definition at line 105 of file DNSSrvData.hpp.
Referenced by GetPriority(), ReadImpl(), SerializeImpl(), SetPriority(), and WriteImpl().
|
private |
Definition at line 106 of file DNSSrvData.hpp.
Referenced by GetWeight(), ReadImpl(), SerializeImpl(), SetWeight(), and WriteImpl().