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);
bool parse(Packet &pkt)
uint32_t getTtl() const
ResourceRecord Time To Live: Number of seconds ths should be remembered.
uint16_t getClass() const
ResourceRecord Class: Normally the value 1 for Internet (âINâ)
Definition: Answer.h:17
String toString(mDNS::Answer::Kind kind)
uint8_t * getRecord() const
Base class template for linked items with type casting.
Definition: LinkedObject.h:56
void allocate(uint16_t size)
uint16_t getRecordPtr() const
Get pointer to Resource Record data.
Definition: Answer.h:94
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
Kind getKind() const
Identifies what kind of answer this is.
Definition: Answer.h:46