# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLNET::CServerTask Class Reference

Common part of CListenTask and CServerReceiveTask. More...

#include <buf_server.h>

Inheritance diagram for NLNET::CServerTask:

NLNET::CListenTask NLNET::CServerReceiveTask List of all members.

Public Methods

virtual ~CServerTask ()
 Destructor. More...

void requireExit ()
 Tells the task to exit. More...


Protected Methods

 CServerTask ()
 Constructor. More...

bool exitRequired () const
 Returns true if the requireExit() has been called. More...


Private Attributes

volatile bool _ExitRequired

Detailed Description

Common part of CListenTask and CServerReceiveTask.

Definition at line 48 of file buf_server.h.


Constructor & Destructor Documentation

NLNET::CServerTask::~CServerTask   [virtual]
 

Destructor.

Definition at line 152 of file buf_server.cpp.

NLNET::CServerTask::CServerTask   [protected]
 

Constructor.

Definition at line 125 of file buf_server.cpp.

Referenced by NLNET::CListenTask::CListenTask, and NLNET::CServerReceiveTask::CServerReceiveTask.


Member Function Documentation

bool NLNET::CServerTask::exitRequired   const [inline, protected]
 

Returns true if the requireExit() has been called.

Definition at line 69 of file buf_server.h.

References _ExitRequired.

Referenced by NLNET::CServerReceiveTask::run, and NLNET::CListenTask::run.

void NLNET::CServerTask::requireExit   [inline]
 

Tells the task to exit.

Definition at line 56 of file buf_server.h.

References _ExitRequired.


Member Data Documentation

volatile bool NLNET::CServerTask::_ExitRequired [private]
 

Definition at line 78 of file buf_server.h.

Referenced by exitRequired, and requireExit.


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