mDNS::Query Class Reference
#include <Request.h>
Inheritance diagram for mDNS::Query:
Collaboration diagram for mDNS::Query:
Public Member Functions | |
Query () | |
![]() | |
Request (Type type) | |
Create a multicast message. More... | |
Question * | addQuestion (const String &name, ResourceType type=ResourceType::PTR, uint16_t qclass=1, bool unicast=false) |
Answer * | createAnswer (const String &name, Resource::Type type, uint16_t rclass, bool flush, uint32_t ttl) |
Answer * | createAnswer (const Name &name, Resource::Type type, uint16_t rclass, bool flush, uint32_t ttl) |
template<class Resource , class N , typename... ParamTypes> | |
Resource | addAnswer (const N &name, ParamTypes... params) |
Answer::Kind | nextSection () |
![]() | |
Message (IpAddress remoteIp, uint16_t remotePort, void *data, uint16_t size) | |
Message (const Message &other) | |
bool | parse () |
Parse message data. More... | |
IpAddress | getRemoteIp () const |
Address of sender from UDP packet. More... | |
uint16_t | getRemotePort () const |
UDP port in message. More... | |
bool | isReply () const |
Check that message contains answers, not queries. More... | |
Type | getType () const |
bool | isTruncated () const |
If set, indicates record is split across multiple packets. More... | |
uint8_t | getResponseCode () const |
Non-zero indicates error. More... | |
uint8_t * | getData () const |
uint16_t | getSize () const |
Answer * | operator[] (ResourceType type) |
void | allocate (uint16_t recordSize) |
uint8_t * | resolvePointer (uint16_t pointer) const |
Additional Inherited Members | |
![]() | |
enum | Type { Type::query, Type::reply } |
![]() | |
Question::OwnedList | questions |
Answer::OwnedList | answers |
![]() | |
IpAddress | remoteIp |
uint16_t | remotePort |
uint8_t * | data |
uint16_t | size |
Constructor & Destructor Documentation
◆ Query()
|
inline |
The documentation for this class was generated from the following file: