gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
VncServer::ListenEvent Class Reference

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

#include <vncserver.hh>

Inheritance diagram for VncServer::ListenEvent:
PollEvent 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 PollEvent
 PollEvent (int fd, int event)
 
virtual ~PollEvent ()
 
void disable ()
 
void enable ()
 
bool queued ()
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
- Public Member Functions inherited from 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 PollEvent
pollfd pfd
 
PollQueuequeue
 
bool enabled
 

Additional Inherited Members

- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Get the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 
static void unserializeGlobals (CheckpointIn &cp)
 
- Static Public Attributes inherited from Serializable
static int ckptCount = 0
 
static int ckptMaxCount = 0
 
static int ckptPrevCount = -1
 

Detailed Description

ListenEvent to accept a vnc client connection.

Definition at line 145 of file vncserver.hh.

Constructor & Destructor Documentation

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

Poll event for the listen socket.

Definition at line 91 of file vncserver.cc.

Member Function Documentation

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

Implements PollEvent.

Definition at line 97 of file vncserver.cc.

Member Data Documentation

VncServer* VncServer::ListenEvent::vncserver
protected

Definition at line 148 of file vncserver.hh.


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

Generated on Fri Jun 9 2017 13:04:23 for gem5 by doxygen 1.8.6