LLDB
mainline
llvm-project
lldb
include
lldb
Host
linux
AbstractSocket.h
Go to the documentation of this file.
1
//===-- AbstractSocket.h ----------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef liblldb_AbstractSocket_h_
10
#define liblldb_AbstractSocket_h_
11
12
#include "
lldb/Host/posix/DomainSocket.h
"
13
14
namespace
lldb_private
{
15
class
AbstractSocket
:
public
DomainSocket
{
16
public
:
17
AbstractSocket
();
18
AbstractSocket
(
NativeSocket
socket,
bool
should_close);
19
20
protected
:
21
size_t
GetNameOffset
()
const override
;
22
void
DeleteSocketFile
(llvm::StringRef name)
override
;
23
};
24
}
25
26
#endif
// ifndef liblldb_AbstractSocket_h_
DomainSocket.h
lldb_private::AbstractSocket::DeleteSocketFile
void DeleteSocketFile(llvm::StringRef name) override
Definition
AbstractSocket.cpp:23
lldb_private::AbstractSocket::AbstractSocket
AbstractSocket()
Definition
AbstractSocket.cpp:16
lldb_private::AbstractSocket::GetNameOffset
size_t GetNameOffset() const override
Definition
AbstractSocket.cpp:21
lldb_private::DomainSocket::DomainSocket
DomainSocket(NativeSocket socket, bool should_close)
Definition
DomainSocket.cpp:61
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
lldb_private::NativeSocket
int NativeSocket
Definition
Socket.h:41
Generated on
for LLDB by
1.14.0