class MdnsTransceiver

Defined at line 23 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.h

Sends and receives mDNS messages on any number of interfaces.

Public Methods

void MdnsTransceiver ()

Defined at line 17 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void ~MdnsTransceiver ()

Defined at line 19 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void SetVerbose (bool verbose)

Mdns::Transceiver implementation.

Defined at line 21 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void Start (fuchsia::net::interfaces::WatcherPtr watcher, fit::closure link_change_callback, InboundMessageCallback inbound_message_callback, InterfaceTransceiverCreateFunction transceiver_factory)

Defined at line 27 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void Stop ()

Defined at line 50 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

bool HasInterfaces ()

Defined at line 60 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void SendMessages (std::unordered_map<ReplyAddress, Mdns::DnsMessageBuilder, Mdns::ReplyAddressHash> messages)

Defined at line 67 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void LogTraffic ()

Defined at line 108 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

std::vector<HostAddress> LocalHostAddresses ()

Defined at line 115 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

MdnsInterfaceTransceiver * GetInterfaceTransceiver (const inet::IpAddress & address)

Returns the interface transceiver with address |address| if it exists,

nullptr if not.

TODO(https://fxbug.dev/42126891): move this back to private after multi-network test

is rewritten in Rust.

Defined at line 62 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void MdnsTransceiver (const MdnsTransceiver & )

Disallow copy, assign and move.

Defined at line 98 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.h

void MdnsTransceiver (MdnsTransceiver && )

Defined at line 99 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.h

MdnsTransceiver & operator= (const MdnsTransceiver & )

Defined at line 100 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.h

MdnsTransceiver & operator= (MdnsTransceiver && )

Defined at line 101 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.h