simulavr  1.1.0
GdbServerSocketUnix Class Reference

Interface implementation for server socket wrapper on unix systems. More...

#include <gdb.h>

Inheritance diagram for GdbServerSocketUnix:

Public Member Functions

 GdbServerSocketUnix (int port)
 
 ~GdbServerSocketUnix ()
 
virtual void Close (void)
 
virtual int ReadByte (void)
 
virtual void Write (const void *buf, size_t count)
 
virtual void SetBlockingMode (int mode)
 
virtual bool Connect (void)
 
virtual void CloseConnection (void)
 
- Public Member Functions inherited from GdbServerSocket
virtual ~GdbServerSocket ()
 

Private Attributes

int sock
 socket for listening for a new client More...
 
int conn
 the TCP connection from gdb client More...
 
struct sockaddr_in address [1]
 

Detailed Description

Interface implementation for server socket wrapper on unix systems.

Definition at line 64 of file gdb.h.

Constructor & Destructor Documentation

◆ GdbServerSocketUnix()

GdbServerSocketUnix::GdbServerSocketUnix ( int  port)

◆ ~GdbServerSocketUnix()

Member Function Documentation

◆ Close()

virtual void GdbServerSocketUnix::Close ( void  )
virtual

Implements GdbServerSocket.

◆ CloseConnection()

virtual void GdbServerSocketUnix::CloseConnection ( void  )
virtual

Implements GdbServerSocket.

◆ Connect()

virtual bool GdbServerSocketUnix::Connect ( void  )
virtual

Implements GdbServerSocket.

◆ ReadByte()

virtual int GdbServerSocketUnix::ReadByte ( void  )
virtual

Implements GdbServerSocket.

◆ SetBlockingMode()

virtual void GdbServerSocketUnix::SetBlockingMode ( int  mode)
virtual

Implements GdbServerSocket.

◆ Write()

virtual void GdbServerSocketUnix::Write ( const void *  buf,
size_t  count 
)
virtual

Implements GdbServerSocket.

Member Data Documentation

◆ address

struct sockaddr_in GdbServerSocketUnix::address[1]
private

Definition at line 68 of file gdb.h.

◆ conn

int GdbServerSocketUnix::conn
private

the TCP connection from gdb client

Definition at line 67 of file gdb.h.

◆ sock

int GdbServerSocketUnix::sock
private

socket for listening for a new client

Definition at line 66 of file gdb.h.


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