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