gem5  v22.1.0.0
Public Member Functions | Protected Attributes | List of all members
gem5::VncServer::ListenEvent Class Reference

ListenEvent to accept a vnc client connection. More...

#include <vncserver.hh>

Inheritance diagram for gem5::VncServer::ListenEvent:
gem5::PollEvent gem5::Serializable

Public Member Functions

 ListenEvent (VncServer *vs, int fd, int e)
 Poll event for the listen socket. More...
 
void process (int revent)
 
- Public Member Functions inherited from gem5::PollEvent
 PollEvent (int fd, int event)
 
virtual ~PollEvent ()
 
bool queued ()
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
void disable ()
 
void enable ()
 
- Public Member Functions inherited from gem5::Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section. More...
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object. More...
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 

Protected Attributes

VncServervncserver
 
- Protected Attributes inherited from gem5::PollEvent
pollfd pfd
 
PollQueuequeue
 
bool enabled
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it. More...
 

Detailed Description

ListenEvent to accept a vnc client connection.

Definition at line 153 of file vncserver.hh.

Constructor & Destructor Documentation

◆ ListenEvent()

gem5::VncServer::ListenEvent::ListenEvent ( VncServer vs,
int  fd,
int  e 
)

Poll event for the listen socket.

Definition at line 87 of file vncserver.cc.

Member Function Documentation

◆ process()

void gem5::VncServer::ListenEvent::process ( int  revent)
virtual

Implements gem5::PollEvent.

Definition at line 93 of file vncserver.cc.

Member Data Documentation

◆ vncserver

VncServer* gem5::VncServer::ListenEvent::vncserver
protected

Definition at line 156 of file vncserver.hh.


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

Generated on Wed Dec 21 2022 10:23:12 for gem5 by doxygen 1.9.1