josx.rcxcomm
Class HttpProxy

java.lang.Object
  extended by josx.rcxcomm.HttpProxy

public class HttpProxy
extends java.lang.Object

A Proxy for sending HTTP requests to the RCX. Listens on the httpPort specified by -httpPort (default 80). If the RCX is currently servicing a request, it returns the massge "RCX is Busy". The constructor does not return - it runs forever.

Author:
Lawrie Griffiths

Constructor Summary
HttpProxy(int httpPort, java.lang.String towerPort)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpProxy

public HttpProxy(int httpPort,
                 java.lang.String towerPort)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Parameters:
args - -httpPort -towerPort
Throws:
java.io.IOException