de.kosi
Class Clients
java.lang.Object
|
+--de.kosi.Clients
- public class Clients
- extends java.lang.Object
This class starts four clients. They get a quarter of the screen size (each).
ChangeLog:
$Log: Clients.java,v $
Revision 1.5 2001/08/30 10:44:38 jiriki
Finished implementation of claim
Revision 1.4 2001/06/27 19:09:18 jiriki
Resolved minor bugs. Updated docs.
- Version:
- $Revision: 1.5 $ ($Date: 2001/08/30 10:44:38 $)
- Author:
- Jan-Christian Marinesse, Niklas Mehner
Method Summary |
static void |
main(java.lang.String[] args)
Starts 4 clients. |
static java.lang.Process |
startClient(java.lang.String classpath,
java.lang.String javapath,
int x,
int y,
int width,
int height,
java.lang.String user)
Start a single client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Clients
public Clients()
startClient
public static java.lang.Process startClient(java.lang.String classpath,
java.lang.String javapath,
int x,
int y,
int width,
int height,
java.lang.String user)
throws java.lang.Exception
- Start a single client.
- Parameters:
classpath
- Classpath for the client.javapath
- Path to the java interpreter.x
- X position of the client.y
- Y position of the client.width
- Width of the client.height
- Height of the client.user
- User that is logged in.- Returns:
- The client process that was created.
- Throws:
java.lang.Exception
- If unable to start the client.
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Starts 4 clients.
- Parameters:
args
- The first parameter has to be a classpath, the second the
path to the java interpreter.- Throws:
java.lang.Exception
- If unable to start the clients.