Main Page | Class Hierarchy | Class List | File List | Class Members

ServerProcess Class Reference

#include <main.h>

Collaboration diagram for ServerProcess:

[legend]
List of all members.

Public Member Functions

 ServerProcess ()
 ~ServerProcess ()
void Main ()
BOOL ReportReadMessages ()
BOOL ReportSentMessages ()
ManagerGetManager ()

Static Public Member Functions

static ServerProcessCurrent ()

Protected Attributes

Manager localManager
BOOL reportReadMessages
BOOL reportSentMessages

Detailed Description

The core class that a)processes command line and b)launches relevant classes


Constructor & Destructor Documentation

ServerProcess::ServerProcess  ) 
 

Constructor

ServerProcess::~ServerProcess  ) 
 

Destructor


Member Function Documentation

static ServerProcess& ServerProcess::Current  )  [inline, static]
 

Report a pointer to this instance, which is globally available to every part of this program

Manager& ServerProcess::GetManager  )  [inline]
 

Get a reference back to this manager

void ServerProcess::Main  ) 
 

The core of this processing thread which handles the command line

BOOL ServerProcess::ReportReadMessages  )  [inline]
 

Report if we should write messages read in to the console

BOOL ServerProcess::ReportSentMessages  )  [inline]
 

Report if we should messages that we send to the console


Member Data Documentation

Manager ServerProcess::localManager [protected]
 

The manager, who does everything

BOOL ServerProcess::reportReadMessages [protected]
 

Flag to control if we should write messages read in to the console

BOOL ServerProcess::reportSentMessages [protected]
 

Flag to control if we should write messages sent to the console. This differs to reportReadMessages, cause if there is no matching destination, nothing will be sent (or printed). This flag allows you to know if the incoming message was sent out.


The documentation for this class was generated from the following files:
Generated on Thu Apr 19 00:03:11 2007 for SSServer, or Sofa Switch Server by  doxygen 1.4.4