mDNS::Resource::PTR Class Reference

'PTR' record containing pointer to a canonical name More...

#include <Resource.h>

Inheritance diagram for mDNS::Resource::PTR:
[legend]
Collaboration diagram for mDNS::Resource::PTR:
[legend]

Public Member Functions

Name getName () const
 
String toString () const
 
void init (const String &name)
 
- Public Member Functions inherited from mDNS::Resource::Record
 Record (const Answer &answer)
 
String toString () const
 

Static Public Attributes

static constexpr Resource::Type type {Resource::Type::PTR}
 

Additional Inherited Members

- Public Attributes inherited from mDNS::Resource::Record
Answeranswer
 
- Protected Member Functions inherited from mDNS::Resource::Record
uint8_t * getRecord () const
 
uint16_t getRecordSize () const
 

Detailed Description

'PTR' record containing pointer to a canonical name

Member Function Documentation

◆ getName()

Name mDNS::Resource::PTR::getName ( ) const

◆ init()

void mDNS::Resource::PTR::init ( const String name)

◆ toString()

String mDNS::Resource::PTR::toString ( ) const
inline

Member Data Documentation

◆ type

constexpr Resource::Type mDNS::Resource::PTR::type {Resource::Type::PTR}
static

The documentation for this class was generated from the following file: