org.mozilla.jss.tests

Class ClassServer

public abstract class ClassServer extends Object implements Runnable

Constructor Summary
protected ClassServer(ServerSocket ss)
Constructs a ClassServer based on ss
Method Summary
voidrun()
The "listen" thread that accepts a connection to the server, parses the header to obtain the file name and sends back the bytes for the file (or error if the file is not found or the response was malformed).

Constructor Detail

ClassServer

protected ClassServer(ServerSocket ss)
Constructs a ClassServer based on ss

Method Detail

run

public void run()
The "listen" thread that accepts a connection to the server, parses the header to obtain the file name and sends back the bytes for the file (or error if the file is not found or the response was malformed).