gem5  v20.1.0.0
Public Member Functions | List of all members
MockListenSocket Class Reference
Inheritance diagram for MockListenSocket:
ListenSocket

Public Member Functions

 ~MockListenSocket ()
 
- Public Member Functions inherited from ListenSocket
 ListenSocket ()
 
virtual ~ListenSocket ()
 
virtual int accept (bool nodelay=false)
 
virtual bool listen (int port, bool reuse=true)
 
int getfd () const
 
bool islistening () const
 

Additional Inherited Members

- Static Public Member Functions inherited from ListenSocket
static void disableAll ()
 
static bool allDisabled ()
 
static void loopbackOnly ()
 
- Static Protected Member Functions inherited from ListenSocket
static void cleanup ()
 
- Protected Attributes inherited from ListenSocket
bool listening
 
int fd
 
- Static Protected Attributes inherited from ListenSocket
static bool listeningDisabled = false
 The following variables are only used by socket unit tests: listeningDisabled, anyListening, bindToLoopback. More...
 
static bool anyListening = false
 
static bool bindToLoopback = false
 

Detailed Description

Definition at line 41 of file socket.test.cc.

Constructor & Destructor Documentation

◆ ~MockListenSocket()

MockListenSocket::~MockListenSocket ( )
inline

Definition at line 49 of file socket.test.cc.

References ListenSocket::cleanup().


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

Generated on Wed Sep 30 2020 14:02:28 for gem5 by doxygen 1.8.17