LLDB mainline
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
lldb_private::SharedSocket Class Reference

#include <Socket.h>

Public Member Functions

 SharedSocket (const Socket *socket, Status &error)
 
shared_fd_t GetSendableFD ()
 
Status CompleteSending (lldb::pid_t child_pid)
 

Static Public Member Functions

static Status GetNativeSocket (shared_fd_t fd, NativeSocket &socket)
 

Static Public Attributes

static const shared_fd_t kInvalidFD = Socket::kInvalidSocketValue
 

Private Attributes

shared_fd_t m_fd
 

Detailed Description

Definition at line 48 of file Socket.h.

Constructor & Destructor Documentation

◆ SharedSocket()

SharedSocket::SharedSocket ( const Socket socket,
Status error 
)

Definition at line 76 of file Socket.cpp.

References error(), lldb_private::Socket::GetNativeSocket(), kInvalidFD, and m_fd.

Member Function Documentation

◆ CompleteSending()

Status SharedSocket::CompleteSending ( lldb::pid_t  child_pid)

Definition at line 93 of file Socket.cpp.

References error(), and lldb_private::Status::FromErrorStringWithFormat().

◆ GetNativeSocket()

Status SharedSocket::GetNativeSocket ( shared_fd_t  fd,
NativeSocket socket 
)
static

◆ GetSendableFD()

shared_fd_t lldb_private::SharedSocket::GetSendableFD ( )
inline

Definition at line 54 of file Socket.h.

References m_fd.

Member Data Documentation

◆ kInvalidFD

const shared_fd_t SharedSocket::kInvalidFD = Socket::kInvalidSocketValue
static

◆ m_fd

shared_fd_t lldb_private::SharedSocket::m_fd
private

Definition at line 65 of file Socket.h.

Referenced by GetSendableFD(), and SharedSocket().


The documentation for this class was generated from the following files: