com.objectwave.simpleSockets
Class SimpleHTTP

java.lang.Object
  |
  +--com.objectwave.simpleSockets.SimpleServer
        |
        +--com.objectwave.simpleSockets.SimpleHTTP
All Implemented Interfaces:
java.lang.Runnable

public class SimpleHTTP
extends SimpleServer

A VERY simple server.

Version:
2.0
Author:
Dave Hoag

Field Summary
 
Fields inherited from class com.objectwave.simpleSockets.SimpleServer
count
 
Constructor Summary
SimpleHTTP()
           
SimpleHTTP(int port)
           
 
Method Summary
 ServeClient getClientServer(SimpleServer svr, int count, java.lang.Thread thread)
          Override this method if you don't want to do anything special with the handling of clients.
static void main(java.lang.String[] args)
          This method should be overriden to create an instance of your SimpleServer.
 
Methods inherited from class com.objectwave.simpleSockets.SimpleServer
errorlog, getClientServer, getClientThreadPriority, handleConnection, port, run, startServer, startThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleHTTP

public SimpleHTTP()

SimpleHTTP

public SimpleHTTP(int port)
Method Detail

getClientServer

public ServeClient getClientServer(SimpleServer svr,
                                   int count,
                                   java.lang.Thread thread)
Override this method if you don't want to do anything special with the handling of clients. Just return your ServerClient object.

Overrides:
getClientServer in class SimpleServer
Parameters:
svr -
count -
thread -
Returns:
The ClientServer value

main

public static void main(java.lang.String[] args)
This method should be overriden to create an instance of your SimpleServer. It should look the same xcept it should Specify new .startServer();

Parameters:
args -