You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.tests
Class ClassServer

java.lang.Object
  extended by org.mozilla.jss.tests.ClassServer
All Implemented Interfaces:
java.lang.Runnable

public abstract class ClassServer
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
protected ClassServer(java.net.ServerSocket ss)
          Constructs a ClassServer based on ss
 
Method Summary
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassServer

protected ClassServer(java.net.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).

Specified by:
run in interface java.lang.Runnable