edu.virginia.cs.mng.hypercast
Class HTTP_ServerClientSocketManager

java.lang.Object
  |
  +--edu.virginia.cs.mng.hypercast.HTTP_ServerClientSocketManager

class HTTP_ServerClientSocketManager
extends java.lang.Object
implements java.lang.Runnable

Class that handles connects. Its main advantage is to parallelize the I/O.


Field Summary
private  HTTP_Server httpServer
           
 
Constructor Summary
(package private) HTTP_ServerClientSocketManager(HTTP_Server hs)
           
 
Method Summary
 void run()
          Accepts a connection, reads in the request, calls HTTP_Server.processQuery(), writes out result.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

httpServer

private HTTP_Server httpServer
Constructor Detail

HTTP_ServerClientSocketManager

HTTP_ServerClientSocketManager(HTTP_Server hs)
Method Detail

run

public void run()
Accepts a connection, reads in the request, calls HTTP_Server.processQuery(), writes out result. Repeat.
Specified by:
run in interface java.lang.Runnable