Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.zazof.jtegServer
Class GameController  view GameController download GameController.java

java.lang.Object
  extended byorg.zazof.jtegServer.GameController
All Implemented Interfaces:
java.lang.Runnable

public class GameController
extends java.lang.Object
implements java.lang.Runnable


Field Summary
private  ConnectionController $connectionController
           
private  ProtocolFactory $factory
           
private  PlayerContainer $observers
           
private  PlayerContainer $players
           
private  java.util.Hashtable $protocols
           
private  MessageQueue $queue
           
private  java.lang.Thread $thread
           
private  World $world
           
(package private) static org.apache.log4j.Category log
           
 
Constructor Summary
GameController(int port)
           
 
Method Summary
 PlayerContainer getObserverContainer()
           
 PlayerContainer getPlayerContainer()
           
 World getWorld()
           
static void main(java.lang.String[] args)
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.log4j.Category log

$world

private World $world

$connectionController

private ConnectionController $connectionController

$queue

private MessageQueue $queue

$factory

private ProtocolFactory $factory

$protocols

private java.util.Hashtable $protocols

$thread

private java.lang.Thread $thread

$players

private PlayerContainer $players

$observers

private PlayerContainer $observers
Constructor Detail

GameController

public GameController(int port)
               throws java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable

getPlayerContainer

public PlayerContainer getPlayerContainer()

getObserverContainer

public PlayerContainer getObserverContainer()

getWorld

public World getWorld()