org.jscience.physics.fluids.dynamics.http
Class ServerHTTP

java.lang.Object
  extended by org.jscience.physics.fluids.dynamics.http.ServerHTTP
All Implemented Interfaces:
java.lang.Runnable

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

DOCUMENT ME!


Constructor Summary
ServerHTTP(KernelADFC kadfc)
          Creates a new ServerHTTP object.
 
Method Summary
 java.lang.String getHTMLDocument()
          DOCUMENT ME!
 void inicia()
          Initiates the server.
 void restart()
          This method reinicia the server web.
 void run()
          Method run() of the Thread
 void setHTMLString(java.lang.String str)
          DOCUMENT ME!
 void setPuertoHTTP(int puerto)
          Especify the port TCP/IP where to listen.
 void setSoloLocal(boolean loc)
          DOCUMENT ME!
 void terminate()
          The invocation of this method should stop the web server in, at most, SO_TIMEOUT milliseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerHTTP

public ServerHTTP(KernelADFC kadfc)
Creates a new ServerHTTP object.

Parameters:
kadfc - DOCUMENT ME!
Method Detail

terminate

public void terminate()
The invocation of this method should stop the web server in, at most, SO_TIMEOUT milliseconds. Belongs to InterfazRMI.


getHTMLDocument

public java.lang.String getHTMLDocument()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setHTMLString

public void setHTMLString(java.lang.String str)
DOCUMENT ME!

Parameters:
str - DOCUMENT ME!

setSoloLocal

public void setSoloLocal(boolean loc)
DOCUMENT ME!

Parameters:
loc - DOCUMENT ME!

inicia

public void inicia()
Initiates the server. Belongs to the InterfazRMI


restart

public void restart()
This method reinicia the server web. Forma part of the InterfazRMI.


run

public void run()
Method run() of the Thread

Specified by:
run in interface java.lang.Runnable

setPuertoHTTP

public void setPuertoHTTP(int puerto)
Especify the port TCP/IP where to listen. Generally is port 80. this method forms part of the InterfazRMI.

Parameters:
puerto - DOCUMENT ME!