A single mDNS Answer.
More...
#include <Answer.h>
|
| | Answer (Message &message, Kind kind) |
| |
| bool | parse (Packet &pkt) |
| |
| Kind | getKind () const |
| | Identifies what kind of answer this is. More...
|
| |
| 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 | isCachedFlush () const |
| | Flush cache of records matching this name. More...
|
| |
| uint32_t | getTtl () const |
| | ResourceRecord Time To Live: Number of seconds ths should be remembered. More...
|
| |
| String | getRecordString () const |
| | Get content of record as string. More...
|
| |
| Message & | getResponse () const |
| |
| uint8_t * | getRecord () const |
| |
| uint16_t | getRecordPtr () const |
| | Get pointer to Resource Record data. More...
|
| |
| uint16_t | getRecordSize () const |
| | Get size of Resource Record. More...
|
| |
| uint16_t | init (uint16_t namePtr, const String &name, Resource::Type type, uint16_t rclass, bool flush, uint32_t ttl) |
| |
| uint16_t | init (uint16_t namePtr, const Name &name, Resource::Type type, uint16_t rclass, bool flush, uint32_t ttl) |
| |
| void | allocate (uint16_t size) |
| |
| Answer * | 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 |
| |
◆ List
◆ OwnedList
◆ Kind
| Enumerator |
|---|
| answer | |
| name | |
| additional | |
◆ Answer()
◆ allocate()
| void mDNS::Answer::allocate |
( |
uint16_t |
size | ) |
|
◆ getClass()
| uint16_t mDNS::Answer::getClass |
( |
| ) |
const |
ResourceRecord Class: Normally the value 1 for Internet (âINâ)
◆ getKind()
| Kind mDNS::Answer::getKind |
( |
| ) |
const |
|
inline |
Identifies what kind of answer this is.
◆ getName()
| Name mDNS::Answer::getName |
( |
| ) |
const |
|
inline |
Object, domain or zone name.
◆ getRecord()
| uint8_t* mDNS::Answer::getRecord |
( |
| ) |
const |
◆ getRecordPtr()
| uint16_t mDNS::Answer::getRecordPtr |
( |
| ) |
const |
|
inline |
◆ getRecordSize()
| uint16_t mDNS::Answer::getRecordSize |
( |
| ) |
const |
|
inline |
◆ getRecordString()
| String mDNS::Answer::getRecordString |
( |
| ) |
const |
Get content of record as string.
◆ getResponse()
| Message& mDNS::Answer::getResponse |
( |
| ) |
const |
|
inline |
◆ getTtl()
| uint32_t mDNS::Answer::getTtl |
( |
| ) |
const |
ResourceRecord Time To Live: Number of seconds ths should be remembered.
◆ getType()
◆ init() [1/2]
◆ init() [2/2]
◆ isCachedFlush()
| bool mDNS::Answer::isCachedFlush |
( |
| ) |
const |
Flush cache of records matching this name.
◆ parse()
The documentation for this class was generated from the following file: