mDNS::Resource::SRV Class Reference
'SRV' Service Locator record More...
#include <Resource.h>
Inheritance diagram for mDNS::Resource::SRV:
Collaboration diagram for mDNS::Resource::SRV:
Public Member Functions | |
uint16_t | getPriority () const |
uint16_t | getWeight () const |
uint16_t | getPort () const |
Name | getHost () const |
String | toString (const String &sep="; ") const |
void | init (uint16_t priority, uint16_t weight, uint16_t port, const String &host) |
Record (const Answer &answer) | |
![]() | |
Record (const Answer &answer) | |
String | toString () const |
Static Public Attributes | |
static constexpr Resource::Type | type {Resource::Type::SRV} |
Additional Inherited Members | |
![]() | |
Answer & | answer |
![]() | |
uint8_t * | getRecord () const |
uint16_t | getRecordSize () const |
Detailed Description
Member Function Documentation
◆ getHost()
Name mDNS::Resource::SRV::getHost | ( | ) | const |
◆ getPort()
uint16_t mDNS::Resource::SRV::getPort | ( | ) | const |
◆ getPriority()
uint16_t mDNS::Resource::SRV::getPriority | ( | ) | const |
◆ getWeight()
uint16_t mDNS::Resource::SRV::getWeight | ( | ) | const |
◆ init()
void mDNS::Resource::SRV::init | ( | uint16_t | priority, |
uint16_t | weight, | ||
uint16_t | port, | ||
const String & | host | ||
) |
◆ Record()
|
inline |
◆ toString()
Member Data Documentation
◆ type
|
staticconstexpr |
The documentation for this class was generated from the following file: