chromium/third_party/webrtc/rtc_base/proxy_server.cc

/*
 *  Copyright 2004 The WebRTC Project Authors. All rights reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "rtc_base/proxy_server.h"

#include <stddef.h>

#include <memory>

#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
#include "rtc_base/socket_factory.h"

namespace rtc {

// ProxyServer
ProxyServer::ProxyServer(SocketFactory* int_factory,
                         const SocketAddress& int_addr,
                         SocketFactory* ext_factory,
                         const SocketAddress& ext_ip)
    :{}

ProxyServer::~ProxyServer() = default;

SocketAddress ProxyServer::GetServerAddress() {}

void ProxyServer::OnAcceptEvent(Socket* socket) {}

// ProxyBinding
ProxyBinding::ProxyBinding(AsyncProxyServerSocket* int_socket,
                           Socket* ext_socket)
    :{}

ProxyBinding::~ProxyBinding() = default;

void ProxyBinding::OnConnectRequest(AsyncProxyServerSocket* socket,
                                    const SocketAddress& addr) {}

void ProxyBinding::OnInternalRead(Socket* socket) {}

void ProxyBinding::OnInternalWrite(Socket* socket) {}

void ProxyBinding::OnInternalClose(Socket* socket, int err) {}

void ProxyBinding::OnExternalConnect(Socket* socket) {}

void ProxyBinding::OnExternalRead(Socket* socket) {}

void ProxyBinding::OnExternalWrite(Socket* socket) {}

void ProxyBinding::OnExternalClose(Socket* socket, int err) {}

void ProxyBinding::Read(Socket* socket, FifoBuffer* buffer) {}

void ProxyBinding::Write(Socket* socket, FifoBuffer* buffer) {}

void ProxyBinding::Destroy() {}

}  // namespace rtc