v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::gdb_server::SocketTransport Class Reference

#include <transport.h>

Inheritance diagram for v8::internal::wasm::gdb_server::SocketTransport:
Collaboration diagram for v8::internal::wasm::gdb_server::SocketTransport:

Public Member Functions

 SocketTransport (SocketHandle s)
 
 ~SocketTransport () override
 
 SocketTransport (const SocketTransport &)=delete
 
SocketTransportoperator= (const SocketTransport &)=delete
 
bool AcceptConnection () override
 
void WaitForDebugStubEvent () override
 
bool SignalThreadEvent () override
 
- Public Member Functions inherited from v8::internal::wasm::gdb_server::Transport
 Transport (SocketHandle s)
 
 ~Transport () override
 
bool Read (char *dst, int32_t len) override
 
bool Write (const char *src, int32_t len) override
 
bool IsDataAvailable () const override
 
void Disconnect () override
 
void Close () override
 
- Public Member Functions inherited from v8::internal::wasm::gdb_server::TransportBase
virtual ~TransportBase ()
 

Private Member Functions

bool ReadSomeData () override
 

Private Attributes

int faulted_thread_fd_read_
 
int faulted_thread_fd_write_
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::wasm::gdb_server::Transport
static const int kBufSize = 4096
 
- Protected Member Functions inherited from v8::internal::wasm::gdb_server::Transport
void CopyFromBuffer (char **dst, int32_t *len)
 
- Protected Attributes inherited from v8::internal::wasm::gdb_server::Transport
std::unique_ptr< char[]> buf_
 
int32_t pos_
 
int32_t size_
 
SocketHandle handle_bind_
 
SocketHandle handle_accept_
 

Detailed Description

Definition at line 166 of file transport.h.

Constructor & Destructor Documentation

◆ SocketTransport() [1/2]

v8::internal::wasm::gdb_server::SocketTransport::SocketTransport ( SocketHandle s)
explicit

Definition at line 340 of file transport.cc.

◆ ~SocketTransport()

v8::internal::wasm::gdb_server::SocketTransport::~SocketTransport ( )
override

Definition at line 356 of file transport.cc.

◆ SocketTransport() [2/2]

v8::internal::wasm::gdb_server::SocketTransport::SocketTransport ( const SocketTransport & )
delete

Member Function Documentation

◆ AcceptConnection()

bool v8::internal::wasm::gdb_server::SocketTransport::AcceptConnection ( )
overridevirtual

Implements v8::internal::wasm::gdb_server::TransportBase.

Definition at line 369 of file transport.cc.

Here is the call graph for this function:

◆ operator=()

SocketTransport & v8::internal::wasm::gdb_server::SocketTransport::operator= ( const SocketTransport & )
delete

◆ ReadSomeData()

bool v8::internal::wasm::gdb_server::SocketTransport::ReadSomeData ( )
overrideprivatevirtual

Implements v8::internal::wasm::gdb_server::Transport.

Definition at line 379 of file transport.cc.

Here is the caller graph for this function:

◆ SignalThreadEvent()

bool v8::internal::wasm::gdb_server::SocketTransport::SignalThreadEvent ( )
overridevirtual

Implements v8::internal::wasm::gdb_server::TransportBase.

Definition at line 439 of file transport.cc.

◆ WaitForDebugStubEvent()

void v8::internal::wasm::gdb_server::SocketTransport::WaitForDebugStubEvent ( )
overridevirtual

Implements v8::internal::wasm::gdb_server::TransportBase.

Definition at line 396 of file transport.cc.

Here is the call graph for this function:

Member Data Documentation

◆ faulted_thread_fd_read_

int v8::internal::wasm::gdb_server::SocketTransport::faulted_thread_fd_read_
private

Definition at line 181 of file transport.h.

◆ faulted_thread_fd_write_

int v8::internal::wasm::gdb_server::SocketTransport::faulted_thread_fd_write_
private

Definition at line 182 of file transport.h.


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