public class ClientProcess
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_RUNNING |
static int |
CLIENT_STOPPED |
static int |
CLIENT_TIMEDOUT |
| Constructor and Description |
|---|
ClientProcess()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clientProcessEventFired(java.lang.String data)
Event from the process, should be overriden by sub class
|
int |
getClientStatus() |
java.lang.Process |
getProcess()
Return the client system process
|
void |
sendMessage(java.lang.String message)
Send a message to the process
|
void |
setStartupDelay(long ms)
Set the initial delay that is executed prior to starting the process
|
void |
setStartupTimeout(long seconds)
Set startup timeout
|
void |
start(java.lang.String processpath)
Starts the client process
|
void |
stopProcess()
Stops the client process
|
public static final int CLIENT_STOPPED
public static final int CLIENT_RUNNING
public static final int CLIENT_TIMEDOUT
public final void setStartupDelay(long ms)
ms - public final void setStartupTimeout(long seconds)
seconds - public final void start(java.lang.String processpath)
processpath - public final int getClientStatus()
public final java.lang.Process getProcess()
public final void stopProcess()
public final void sendMessage(java.lang.String message)
message - public void clientProcessEventFired(java.lang.String data)
data -