class Publication

Defined at line 1882 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

Describes an initial instance announcement or query response. In typical

use, the default SRV priority, SRV weight and TTL values should be used. TTL

values are rounded down to the nearest second. TTL values less than one

second are not permitted and will result in the `PublicationResponder`

channel being closed.

Public Members

uint16_t port
vector text
uint16_t srv_priority
uint16_t srv_weight
int64_t ptr_ttl
int64_t srv_ttl
int64_t txt_ttl

Public Methods

::std::unique_ptr<Publication> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Publication * value, size_t _offset)
zx_status_t Clone (Publication * result)