org.pilotix.server
Class PilotixServer

java.lang.Object
  extended by org.pilotix.server.PilotixServer

public class PilotixServer
extends java.lang.Object

Pilotix : lance le serveur du jeu Auteurs : - Flo


Field Summary
static java.lang.String dataPath
           
static boolean newCHTs
           
static ConnexionHandlerThread theCHT
           
static java.util.LinkedList<ClientHandlerThread> theCHTs
           
static ClockerThread theCT
           
static IdHandler theIH
           
static java.util.LinkedList<ClientHandlerThread> theNewCHTs
           
static ResourceLocator theRL
           
static ServerArea theSA
           
static ServerMainLoopThread theSMLT
           
static XMLHandler theXH
           
 
Constructor Summary
PilotixServer(int port, int fps)
          Lance le serveur du jeu
 
Method Summary
 void endGame()
          Arrête la partie en cours
static void main(java.lang.String[] args)
          Main du serveur, instancie un nouveau PilotixServer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theIH

public static IdHandler theIH

theSA

public static ServerArea theSA

theSMLT

public static ServerMainLoopThread theSMLT

theCT

public static ClockerThread theCT

theCHT

public static ConnexionHandlerThread theCHT

theXH

public static XMLHandler theXH

newCHTs

public static boolean newCHTs

theNewCHTs

public static java.util.LinkedList<ClientHandlerThread> theNewCHTs

theCHTs

public static java.util.LinkedList<ClientHandlerThread> theCHTs

dataPath

public static java.lang.String dataPath

theRL

public static ResourceLocator theRL
Constructor Detail

PilotixServer

public PilotixServer(int port,
                     int fps)
              throws java.lang.Exception
Lance le serveur du jeu

Parameters:
port - port TCP sur lequel le serveur doit écouter
fps - nombre d'images par seconde demandé (le serveur lui, fait ce qu'il peut !)
Throws:
java.lang.Exception
Method Detail

endGame

public void endGame()
Arrête la partie en cours


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main du serveur, instancie un nouveau PilotixServer. La présence de l'option "-gui" permet de lancer l'interface graphique (classe ServerGUI).

Throws:
java.lang.Exception


artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.