chromium/third_party/openscreen/src/cast/receiver/channel/receiver_socket_factory.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 "cast/receiver/public/receiver_socket_factory.h"

#include "util/osp_logging.h"

namespace openscreen::cast {

ReceiverSocketFactory::Client::~Client() = default;

ReceiverSocketFactory::ReceiverSocketFactory(Client& client,
                                             CastSocket::Client& socket_client)
    :{}

ReceiverSocketFactory::~ReceiverSocketFactory() = default;

void ReceiverSocketFactory::OnAccepted(
    TlsConnectionFactory* factory,
    std::vector<uint8_t> der_x509_peer_cert,
    std::unique_ptr<TlsConnection> connection) {}

void ReceiverSocketFactory::OnConnected(
    TlsConnectionFactory* factory,
    std::vector<uint8_t> der_x509_peer_cert,
    std::unique_ptr<TlsConnection> connection) {}

void ReceiverSocketFactory::OnConnectionFailed(
    TlsConnectionFactory* factory,
    const IPEndpoint& remote_address) {}

void ReceiverSocketFactory::OnError(TlsConnectionFactory* factory,
                                    const Error& error) {}

}  // namespace openscreen::cast