class Transceiver

Defined at line 41 of file ../../src/connectivity/network/mdns/service/mdns.h

Abstract base class for message transceiver.

Public Methods

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

Starts the transceiver.

void Stop ()

Stops the transceiver.

bool HasInterfaces ()

Determines if this transceiver has interfaces.

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

Sends a message to the specified address. A V6 interface will send to

|MdnsAddresses::V6Multicast| if |reply_address.socket_address()| is

|MdnsAddresses::V4Multicast|.

void LogTraffic ()

Writes log messages describing lifetime traffic.

std::vector<HostAddress> LocalHostAddresses ()

Gets the list of addresses for the local host.

void ~Transceiver ()

Defined at line 49 of file ../../src/connectivity/network/mdns/service/mdns.h