dcf.server
Class ClassServer

dcf.server.ClassServer

public class ClassServer

Classfile server for the RMI clients
This is basically a simple HTTP server


Constructor Summary
ClassServer(Distributer parent, int port, dcf.server.String classpath)
           
 
Method Summary
 void addToClasspath(dcf.server.String cp)
          Adds a path to the path where classes are loaded from
 dcf.server.Vector getClasspath()
           
 int getPort()
           
 void run()
           
 

Constructor Detail

ClassServer

public ClassServer(Distributer parent,
                   int port,
                   dcf.server.String classpath)
Method Detail

run

public void run()

getClasspath

public dcf.server.Vector getClasspath()

addToClasspath

public void addToClasspath(dcf.server.String cp)
Adds a path to the path where classes are loaded from
Parameters:
cp - The path to add to the classpath

getPort

public int getPort()
Returns:
The ClassServer port.




Distributed Computation Framework