pygmy.core
Class ConnectionRunnable

java.lang.Object
  extended by pygmy.core.ConnectionRunnable
All Implemented Interfaces:
java.lang.Runnable

public class ConnectionRunnable
extends java.lang.Object
implements java.lang.Runnable


Field Summary
protected  java.util.Properties config
           
protected  java.net.Socket connection
           
protected  java.lang.String scheme
           
protected  Server server
           
 
Constructor Summary
ConnectionRunnable(Server aServer, java.lang.String aScheme, java.net.Socket aConnection, java.util.Properties aConnectionConfig)
           
 
Method Summary
protected  HttpRequest createRequest()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected Server server

connection

protected java.net.Socket connection

config

protected java.util.Properties config

scheme

protected java.lang.String scheme
Constructor Detail

ConnectionRunnable

public ConnectionRunnable(Server aServer,
                          java.lang.String aScheme,
                          java.net.Socket aConnection,
                          java.util.Properties aConnectionConfig)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

createRequest

protected HttpRequest createRequest()
                             throws java.io.IOException
Throws:
java.io.IOException