chromium/third_party/openscreen/src/discovery/dnssd/public/dns_sd_instance_endpoint.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "discovery/dnssd/public/dns_sd_instance_endpoint.h"

#include <algorithm>
#include <cctype>
#include <utility>
#include <vector>

#include "util/osp_logging.h"

namespace openscreen::discovery {

DnsSdInstanceEndpoint::DnsSdInstanceEndpoint(
    std::string instance_id,
    std::string service_id,
    std::string domain_id,
    DnsSdTxtRecord txt,
    NetworkInterfaceIndex network_interface,
    std::vector<IPEndpoint> endpoints)
    :{}

DnsSdInstanceEndpoint::DnsSdInstanceEndpoint(
    std::string instance_id,
    std::string service_id,
    std::string domain_id,
    DnsSdTxtRecord txt,
    NetworkInterfaceIndex network_interface,
    std::vector<IPEndpoint> endpoints,
    std::vector<Subtype> subtypes)
    :{}

DnsSdInstanceEndpoint::DnsSdInstanceEndpoint(
    DnsSdInstance instance,
    NetworkInterfaceIndex network_interface,
    std::vector<IPEndpoint> endpoints)
    :{}

DnsSdInstanceEndpoint::DnsSdInstanceEndpoint(
    const DnsSdInstanceEndpoint& other) = default;

DnsSdInstanceEndpoint::DnsSdInstanceEndpoint(
    DnsSdInstanceEndpoint&& other) noexcept = default;

DnsSdInstanceEndpoint::~DnsSdInstanceEndpoint() = default;

DnsSdInstanceEndpoint& DnsSdInstanceEndpoint::operator=(
    const DnsSdInstanceEndpoint& rhs) = default;

DnsSdInstanceEndpoint& DnsSdInstanceEndpoint::operator=(
    DnsSdInstanceEndpoint&& rhs) noexcept = default;

void DnsSdInstanceEndpoint::InitializeEndpoints() {}

bool operator<(const DnsSdInstanceEndpoint& lhs,
               const DnsSdInstanceEndpoint& rhs) {}

}  // namespace openscreen::discovery