de.jadv.server
Class JAdvServer

java.lang.Object
  |
  +--de.jadv.server.JAdvServer

public class JAdvServer
extends java.lang.Object

The main routine of the server.

Author:
neitzel

Field Summary
(package private)  IOThread _iothread
           
(package private)  PlayerContainer _player
           
static PlayerContainer ConnectedPlayer
           
static EventManager EvtManager
           
static ObjectManager ObjManager
           
 
Constructor Summary
JAdvServer()
          Constructor of JAdvServer
 
Method Summary
private  void AutoLoadObjects()
           
private  void createShutdownHook()
          buildShutdownThread() This function creates a Thread, that will be run, when a user presses Ctrl-C
static void main(java.lang.String[] args)
          The main routine of the JAdvServer.
 void shutdown()
          shutdown() Shuts down the server
 void startup()
          startup() The main function of the Game
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ObjManager

public static ObjectManager ObjManager

EvtManager

public static EventManager EvtManager

ConnectedPlayer

public static PlayerContainer ConnectedPlayer

_iothread

IOThread _iothread

_player

PlayerContainer _player
Constructor Detail

JAdvServer

public JAdvServer()
Constructor of JAdvServer

See Also:
Object.Object()
Method Detail

AutoLoadObjects

private void AutoLoadObjects()

createShutdownHook

private void createShutdownHook()
buildShutdownThread() This function creates a Thread, that will be run, when a user presses Ctrl-C


startup

public void startup()
startup() The main function of the Game


shutdown

public void shutdown()
shutdown() Shuts down the server


main

public static void main(java.lang.String[] args)
The main routine of the JAdvServer. This is used to start the whole server

Parameters:
args -