masterserver
Class MasterServerHandler

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

public class MasterServerHandler
extends java.lang.Thread

This class will handle all of the connections to the master server

Author:
Ben Litchfield

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MasterServerHandler(java.net.Socket s, java.util.Vector l)
          constructor for MasterServerHandler
 
Method Summary
 void run()
          the part that processes the commands
 
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

MasterServerHandler

public MasterServerHandler(java.net.Socket s,
                           java.util.Vector l)
constructor for MasterServerHandler

Parameters:
s - the socket to which this handler handles :)
l - the list of servers
Method Detail

run

public void run()
the part that processes the commands

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