Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

paradigm.cpp File Reference

#include "sysconfig.h"
#include "server.h"
#include "event.h"
#include "eventqueue.h"
#include "user.h"
#include <condefs.h>

Include dependency graph for paradigm.cpp:

Include dependency graph

Go to the source code of this file.

Functions

 USEUNIT ("connection.cpp")
 USEUNIT ("server.cpp")
 USEUNIT ("socket.cpp")
 USEUNIT ("log.cpp")
 USEUNIT ("event.cpp")
 USEUNIT ("eventqueue.cpp")
 USEUNIT ("user.cpp")
void StartServer (void *parms)
void Chat ()
int main (int argc, char **argv)

Variables

EventQueue * g_chat_to_server = 0
EventQueue * g_server_to_chat = 0
Log * g_log = 0


Detailed Description

This is the main entry point that starts the Paradigm server

Author:
Jon A. Lambert
Date:
05/02/2003
Version:
0.30
Note:
Commands

Definition in file paradigm.cpp.


Function Documentation

void Chat (    ) 
 

Definition at line 237 of file paradigm.cpp.

References CONNECT_E, DISCONNECT_E, User::Id(), Event::mClientId, Event::mDataLen, MESSAGE_E, Event::mEventType, Event::mpData, NONE_E, EventQueue::Pop(), EventQueue::Push(), and SHUTDOWN_E.

Referenced by main().

int main (  int    argc,
char **    argv
) 
 

Definition at line 175 of file paradigm.cpp.

References Server::Boot(), Chat(), EventQueue::IsOk(), StartServer(), StartThread, THREADHANDLE_T, and Log::Write().

void StartServer (  void *    parms ) 
 

This is the thread that starts and runs the Server.

Definition at line 224 of file paradigm.cpp.

References Server::Run().

Referenced by main().

USEUNIT (  "user.cpp"    ) 
 

USEUNIT (  "eventqueue.cpp"    ) 
 

USEUNIT (  "event.cpp"    ) 
 

USEUNIT (  "log.cpp"    ) 
 

USEUNIT (  "socket.cpp"    ) 
 

USEUNIT (  "server.cpp"    ) 
 

USEUNIT (  "connection.cpp"    ) 
 


Variable Documentation

EventQueue* g_chat_to_server = 0
 

Definition at line 162 of file paradigm.cpp.

Log* g_log = 0
 

Definition at line 164 of file paradigm.cpp.

EventQueue* g_server_to_chat = 0
 

Definition at line 163 of file paradigm.cpp.


Generated on Mon Mar 29 23:12:55 2004 for Paradigm by doxygen1.2.17