#include "Acceptor.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ScopedPrinter.h"
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Host/common/TCPSocket.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/UriParser.h"
#include <optional>
usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacelldb_private::lldb_server;
usingnamespacellvm;
Status Acceptor::Listen(int backlog) { … }
Status Acceptor::Accept(const bool child_processes_inherit, Connection *&conn) { … }
Socket::SocketProtocol Acceptor::GetSocketProtocol() const { … }
const char *Acceptor::GetSocketScheme() const { … }
std::string Acceptor::GetLocalSocketId() const { … }
std::unique_ptr<Acceptor> Acceptor::Create(StringRef name,
const bool child_processes_inherit,
Status &error) { … }
Acceptor::Acceptor(std::unique_ptr<Socket> &&listener_socket, StringRef name,
const LocalSocketIdFunc &local_socket_id)
: … { … }