|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CTL.Process
public class Process
Communication process
Field Summary | |
---|---|
private boolean |
daemon
|
private Env |
env
|
protected Location |
loc
Location of the remote communication partner |
private boolean |
needsCleaner
|
private int |
remote_id
|
private Timer |
t
|
private java.lang.Thread |
thr
|
Constructor Summary | |
---|---|
Process(Location loc)
Generate a new Process |
|
Process(Location loc,
java.lang.String[] args)
Generate a new Process |
Method Summary | |
---|---|
Env |
getEnv()
Retrieve the local environment of this process |
int |
ID()
|
boolean |
isAlive()
Check if the process is actually running |
Location |
loc()
Retrieve the location of this process. |
private void |
startService(Location loc,
Communicator comm)
Start the remote communication service |
void |
stopService()
Stop the remote communication service |
void |
stopService(int you,
boolean dmn)
|
java.lang.String |
toString()
Retrieve a string representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Location loc
private Env env
private java.lang.Thread thr
private Timer t
private boolean daemon
private int remote_id
private boolean needsCleaner
Constructor Detail |
---|
public Process(Location loc)
loc
- Locationpublic Process(Location loc, java.lang.String[] args)
loc
- Locationargs
- Commandline argumentsMethod Detail |
---|
public int ID()
public boolean isAlive()
private void startService(Location loc, Communicator comm)
loc
- Locationpublic void stopService()
public void stopService(int you, boolean dmn)
public Location loc()
public Env getEnv()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |