chromium/components/openscreen_platform/message_port_tls_connection.cc

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

#include "components/openscreen_platform/message_port_tls_connection.h"

#include <string_view>

#include "third_party/openscreen/src/platform/api/task_runner.h"
#include "third_party/openscreen/src/platform/base/error.h"

namespace openscreen_platform {

MessagePortTlsConnection::MessagePortTlsConnection(
    std::unique_ptr<cast_api_bindings::MessagePort> message_port,
    openscreen::TaskRunner& task_runner)
    :{}

MessagePortTlsConnection::~MessagePortTlsConnection() = default;

// TlsConnection overrides.
void MessagePortTlsConnection::SetClient(TlsConnection::Client* client) {}

bool MessagePortTlsConnection::Send(openscreen::ByteView data) {}

openscreen::IPEndpoint MessagePortTlsConnection::GetRemoteEndpoint() const {}

bool MessagePortTlsConnection::OnMessage(
    std::string_view message,
    std::vector<std::unique_ptr<cast_api_bindings::MessagePort>> ports) {}

void MessagePortTlsConnection::OnPipeError() {}

}  // namespace openscreen_platform