masterserver
Class Server

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--masterserver.Server
All Implemented Interfaces:
java.lang.Runnable

public class Server
extends java.lang.Thread

This is the main server. This class will listen for incoming connections

Author:
Ben Litchfield

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Server()
           
 
Method Summary
 void printServers()
          Print all the servers that are connected
 void quit()
          quit the whole server business
 void run()
          This is was handles all the incoming connections and pawns off all the work to MasterServerHandler
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Server

public Server()
Method Detail

run

public void run()
This is was handles all the incoming connections and pawns off all the work to MasterServerHandler

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

printServers

public void printServers()
Print all the servers that are connected


quit

public void quit()
quit the whole server business