Answer.h
Go to the documentation of this file.
Base class template for linked items with type casting.
Definition: LinkedObject.h:61
uint16_t getClass() const
ResourceRecord Class: Normally the value 1 for Internet (âINâ)
String toString(mDNS::Answer::Kind kind)
bool parse(Packet &pkt)
Kind getKind() const
Identifies what kind of answer this is.
Definition: Answer.h:54
uint16_t getRecordPtr() const
Get pointer to Resource Record data.
Definition: Answer.h:102
Definition: Answer.h:17
uint16_t getRecordSize() const
Get size of Resource Record.
Definition: Answer.h:110
void allocate(uint16_t size)
uint32_t getTtl() const
ResourceRecord Time To Live: Number of seconds this should be remembered.
@ additional
@ answer
uint16_t init(uint16_t namePtr, const String &name, Resource::Type type, uint16_t rclass, bool flush, uint32_t ttl)
@ name
Encapsulates a message packet for flexible introspection.
Definition: MDNS/src/include/Network/Mdns/Message.h:36
uint8_t * getRecord() const