class HostNameRequestor

Defined at line 21 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.h

Requests host name resolution.

Public Methods

void HostNameRequestor (MdnsAgent::Owner * owner, const DnsName & host_name, Media media, IpVersions ip_versions, bool include_local, bool include_local_proxies)

Creates a |HostNameRequestor|.

Defined at line 17 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void ~HostNameRequestor ()

Defined at line 28 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void AddSubscriber (Mdns::HostNameSubscriber * subscriber)

Adds the subscriber.

Defined at line 30 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void RemoveSubscriber (Mdns::HostNameSubscriber * subscriber)

Removes the subscriber. If it's the last subscriber, this |HostNameRequestor| is destroyed.

Defined at line 37 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void Start (const DnsName & local_host_full_name)

MdnsAgent overrides.

Defined at line 44 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void ReceiveResource (const DnsResource & resource, MdnsResourceSection section, ReplyAddress sender_address)

Defined at line 64 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void EndOfMessage ()

Defined at line 112 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void OnAddProxyHost (const DnsName & host_full_name, const std::vector<HostAddress> & addresses)

Defined at line 114 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void OnRemoveProxyHost (const DnsName & host_full_name)

Defined at line 126 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void OnLocalHostAddressesChanged ()

Defined at line 138 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.cc

void HostNameRequestor (const HostNameRequestor & )

Disallow copy, assign and move.

Defined at line 140 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.h

void HostNameRequestor (HostNameRequestor && )

Defined at line 141 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.h

HostNameRequestor & operator= (const HostNameRequestor & )

Defined at line 142 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.h

HostNameRequestor & operator= (HostNameRequestor && )

Defined at line 143 of file ../../src/connectivity/network/mdns/service/agents/host_name_requestor.h