chromium/third_party/webrtc/rtc_base/async_udp_socket.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/async_udp_socket.h"

#include "absl/types/optional.h"
#include "api/units/time_delta.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
#include "rtc_base/network/received_packet.h"
#include "rtc_base/network/sent_packet.h"
#include "rtc_base/time_utils.h"
#include "system_wrappers/include/field_trial.h"

namespace rtc {

AsyncUDPSocket* AsyncUDPSocket::Create(Socket* socket,
                                       const SocketAddress& bind_address) {}

AsyncUDPSocket* AsyncUDPSocket::Create(SocketFactory* factory,
                                       const SocketAddress& bind_address) {}

AsyncUDPSocket::AsyncUDPSocket(Socket* socket) :{}

SocketAddress AsyncUDPSocket::GetLocalAddress() const {}

SocketAddress AsyncUDPSocket::GetRemoteAddress() const {}

int AsyncUDPSocket::Send(const void* pv,
                         size_t cb,
                         const rtc::PacketOptions& options) {}

int AsyncUDPSocket::SendTo(const void* pv,
                           size_t cb,
                           const SocketAddress& addr,
                           const rtc::PacketOptions& options) {}

int AsyncUDPSocket::Close() {}

AsyncUDPSocket::State AsyncUDPSocket::GetState() const {}

int AsyncUDPSocket::GetOption(Socket::Option opt, int* value) {}

int AsyncUDPSocket::SetOption(Socket::Option opt, int value) {}

int AsyncUDPSocket::GetError() const {}

void AsyncUDPSocket::SetError(int error) {}

void AsyncUDPSocket::OnReadEvent(Socket* socket) {}

void AsyncUDPSocket::OnWriteEvent(Socket* socket) {}

}  // namespace rtc