llvm/lldb/source/Core/Communication.cpp

//===-- Communication.cpp -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Core/Communication.h"

#include "lldb/Utility/Connection.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Status.h"

#include "llvm/Support/Compiler.h"

#include <algorithm>
#include <cstring>
#include <memory>

#include <cerrno>
#include <cinttypes>
#include <cstdio>

usingnamespacelldb;
usingnamespacelldb_private;

Communication::Communication()
    :{}

Communication::~Communication() {}

void Communication::Clear() {}

ConnectionStatus Communication::Connect(const char *url, Status *error_ptr) {}

ConnectionStatus Communication::Disconnect(Status *error_ptr) {}

bool Communication::IsConnected() const {}

bool Communication::HasConnection() const {}

size_t Communication::Read(void *dst, size_t dst_len,
                           const Timeout<std::micro> &timeout,
                           ConnectionStatus &status, Status *error_ptr) {}

size_t Communication::Write(const void *src, size_t src_len,
                            ConnectionStatus &status, Status *error_ptr) {}

size_t Communication::WriteAll(const void *src, size_t src_len,
                               ConnectionStatus &status, Status *error_ptr) {}

size_t Communication::ReadFromConnection(void *dst, size_t dst_len,
                                         const Timeout<std::micro> &timeout,
                                         ConnectionStatus &status,
                                         Status *error_ptr) {}

void Communication::SetConnection(std::unique_ptr<Connection> connection) {}

std::string
Communication::ConnectionStatusAsString(lldb::ConnectionStatus status) {}