Class GenericServer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--GenericServer

public class GenericServer
extends java.lang.Thread


Field Summary
protected  java.util.Hashtable routes
           
protected  java.net.ServerSocket server
           
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadQ, values
 
Constructor Summary
GenericServer(int port)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

server

protected java.net.ServerSocket server

routes

protected java.util.Hashtable routes
Constructor Detail

GenericServer

public GenericServer(int port)
              throws java.io.IOException
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread

main

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