#include "osp/impl/dns_sd_publisher_client.h"
#include <utility>
#include "discovery/common/config.h"
#include "discovery/dnssd/public/dns_sd_instance.h"
#include "discovery/dnssd/public/dns_sd_txt_record.h"
#include "discovery/public/dns_sd_service_factory.h"
#include "osp/impl/osp_constants.h"
#include "osp/public/service_info.h"
#include "platform/base/macros.h"
#include "util/osp_logging.h"
namespace openscreen::osp {
State;
namespace {
discovery::DnsSdInstance ServiceConfigToDnsSdInstance(
const ServicePublisher::Config& config) { … }
}
DnsSdPublisherClient::DnsSdPublisherClient(TaskRunner& task_runner)
: … { … }
DnsSdPublisherClient::~DnsSdPublisherClient() = default;
void DnsSdPublisherClient::StartPublisher(
const ServicePublisher::Config& config) { … }
void DnsSdPublisherClient::StartAndSuspendPublisher(
const ServicePublisher::Config& config) { … }
void DnsSdPublisherClient::StopPublisher() { … }
void DnsSdPublisherClient::SuspendPublisher() { … }
void DnsSdPublisherClient::ResumePublisher(
const ServicePublisher::Config& config) { … }
void DnsSdPublisherClient::StartPublisherInternal(
const ServicePublisher::Config& config) { … }
std::unique_ptr<discovery::DnsSdService, TaskRunnerDeleter>
DnsSdPublisherClient::CreateDnsSdServiceInternal(
const ServicePublisher::Config& config) { … }
}