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 >
 
- Public Types inherited from LinkedObjectTemplate< 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...
 
MessagegetMessage () const
 
uint16_t init (uint16_t namePtr, const String &name, ResourceType type, uint16_t qclass, bool unicast)
 
- Public Member Functions inherited from LinkedObjectTemplate< Question >
Question * getNext () const
 
bool insertAfter (Question *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Detailed Description

A single mDNS Question.

Member Typedef Documentation

◆ List

◆ OwnedList

Constructor & Destructor Documentation

◆ Question()

mDNS::Question::Question ( Message message)
inline

Member Function Documentation

◆ getClass()

uint16_t mDNS::Question::getClass ( ) const

ResourceRecord Class: Normally the value 1 for Internet (“IN”)

◆ getMessage()

Message& mDNS::Question::getMessage ( ) const
inline

◆ getName()

Name mDNS::Question::getName ( ) const
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()

bool mDNS::Question::parse ( Packet pkt)

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