All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----java.rmi.server.RemoteObject | +----java.rmi.server.RemoteServer | +----java.rmi.server.UnicastRemoteObject | +----kh.farm.Server
Summary |
public class Server extends java.rmi.server.UnicastRemoteObject implements kh.farm.Interface { // Constructors 1 public Server(Properties) throws RemoteException; // Methods 5 public void kill(String) throws RemoteException; public String launch(String, String[]) throws RemoteException; public int launchAndWait(String, String[]) throws RemoteException; public FarmGroup launchGroup(String, String[]) throws RemoteException; public void setStreams(SocketIdentifier) throws RemoteException; }
Constructors |
· Server | Summary | Top |
public Server(Properties environment) throws RemoteException
Creates our server object
Methods |
· kill | Summary | Top |
public void kill(String threadGroupName) throws RemoteException
Kill the specified thread group
- Implements:
- kill in interface Interface
· launch | Summary | Top |
public 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.
- Implements:
- launch in interface Interface
· launchAndWait | Summary | Top |
public 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.
- Implements:
- launchAndWait in interface Interface
· launchGroup | Summary | Top |
public FarmGroup launchGroup(String className, String[] args) throws RemoteException
· setStreams | Summary | Top |
public 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
- Implements:
- setStreams in interface Interface
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7