mDNS::Question Class Reference
A single mDNS Question. More...
#include <Question.h>
Inheritance diagram for mDNS::Question:
Collaboration diagram for mDNS::Question:
Public Types | |
using | List = LinkedObjectListTemplate< Question > |
using | OwnedList = OwnedLinkedObjectListTemplate< Question > |
![]() | |
using | Iterator = IteratorTemplate< Question, Question *, Question &> |
using | ConstIterator = IteratorTemplate< const Question, const Question *, const Question &> |
Public Member Functions | |
Question (Message &message) | |
bool | parse (Packet &pkt) |
Name | getName () const |
Object, domain or zone name. More... | |
Resource::Type | getType () const |
ResourceRecord type. More... | |
uint16_t | getClass () const |
ResourceRecord Class: Normally the value 1 for Internet (âINâ) More... | |
bool | isUnicastReply () const |
Whether reply should be unicast or multicast. More... | |
Message & | getMessage () const |
uint16_t | init (uint16_t namePtr, const String &name, ResourceType type, uint16_t qclass, bool unicast) |
![]() | |
Question * | getNext () const |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
LinkedObject * | getNext () const |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Detailed Description
Member Typedef Documentation
◆ List
◆ OwnedList
Constructor & Destructor Documentation
◆ Question()
|
inline |
Member Function Documentation
◆ getClass()
uint16_t mDNS::Question::getClass | ( | ) | const |
ResourceRecord Class: Normally the value 1 for Internet (âINâ)
◆ getMessage()
|
inline |
◆ getName()
|
inline |
Object, domain or zone name.
◆ getType()
Resource::Type mDNS::Question::getType | ( | ) | const |
ResourceRecord type.
◆ init()
uint16_t mDNS::Question::init | ( | uint16_t | namePtr, |
const String & | name, | ||
ResourceType | type, | ||
uint16_t | qclass, | ||
bool | unicast | ||
) |
◆ isUnicastReply()
bool mDNS::Question::isUnicastReply | ( | ) | const |
Whether reply should be unicast or multicast.
◆ parse()
The documentation for this class was generated from the following file: