All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface Interface extends java.rmi.Remote { // Methods 4 public abstract void kill(String) throws RemoteException; public abstract String launch(String, String[]) throws RemoteException; public abstract int launchAndWait(String, String[]) throws RemoteException; public abstract void setStreams(SocketIdentifier) throws RemoteException; }
This is the basic interface to a farm server. Each client session should create one of these objects by calling Factory.createServer. The factory can be found via the registry
Cross Reference |
Methods |
· kill | Summary | Top |
public abstract void kill(String threadGroupName) throws RemoteException
Kill the specified thread group
· launch | Summary | Top |
public abstract String launch(String className, String[] args) throws RemoteException
Start running a main class. Don't wait for completion - return the name of the ThreadGroup which was started.
· launchAndWait | Summary | Top |
public abstract int launchAndWait(String className, String[] args) throws RemoteException
Start running a main class. Wait for execution to complete and return the result code. It is assumed the the specified class exists in the class path of the JavaFarm server.
· setStreams | Summary | Top |
public abstract void setStreams(SocketIdentifier id) throws RemoteException
Set the input and output stream for this server session. FIXME: We also set the error stream to this socket
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7