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 16 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void ~MdnsTransceiver ()

Defined at line 18 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)

Mdns::Transceiver implementation.

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

void Stop ()

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

bool HasInterfaces ()

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

void SendMessage (const DnsMessage & message, const ReplyAddress & reply_address)

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

void LogTraffic ()

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

std::vector<HostAddress> LocalHostAddresses ()

Defined at line 87 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 55 of file ../../src/connectivity/network/mdns/service/transport/mdns_transceiver.cc

void MdnsTransceiver (const MdnsTransceiver & )

Disallow copy, assign and move.

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

void MdnsTransceiver (MdnsTransceiver && )

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

MdnsTransceiver & operator= (const MdnsTransceiver & )

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

MdnsTransceiver & operator= (MdnsTransceiver && )

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