Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ActiveSelector Class Reference

#include <ActiveSelector.h>

Inheritance diagram for ActiveSelector:

Inheritance graph
[legend]
Collaboration diagram for ActiveSelector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ActiveSelector (const char *originator)
virtual ~ActiveSelector ()
virtual void run ()
void end ()

Detailed Description

The ActiveSelector class combines a select operation with a thread. Several classes in komssys were designed around the thread class and had an MNSelector in addition, although they were basically waiting for sockets. This was wasteful and led to an abundance of threads where none were necessary because they were waiting all the time anyway. With this class, this basic functionality is provided in the hope that additional threads will from now on only be created if there is a real reason for concurrency, for example long-running processing.


Constructor & Destructor Documentation

ActiveSelector::ActiveSelector const char *  originator  ) 
 

virtual ActiveSelector::~ActiveSelector  )  [virtual]
 


Member Function Documentation

void ActiveSelector::end  ) 
 

virtual void ActiveSelector::run  )  [virtual]
 

Implements MNThread.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:50 2005 for Komssys by doxygen 1.3.8