|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcsp.net.remote.SpawnerService
public class SpawnerService
Services requests from RemoteProcess
proxies to start up child JVMs running the
actual processes.
If started from the command line, it will use the XML config file specified by the first
command parameter. If no file is given it will try and use JCSPNetSpawnerService.xml
to
initialize the local node. Alternatively it can be started programmatically and the caller must
take responsibility for initializing the node.
Constructor Summary | |
---|---|
SpawnerService(NodeKey nodeKey)
Constructs a new service. |
Method Summary | |
---|---|
static SpawnerService |
construct(String[] args)
|
static void |
main(String[] args)
Program entry point. |
void |
run()
Runs the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpawnerService(NodeKey nodeKey)
nodeKey
- the local node key.Method Detail |
---|
public void run()
run
in interface CSProcess
public static SpawnerService construct(String[] args)
public static void main(String[] args)
args
- the command line arguments. The first one may be the name of an XML file for
initializing the local node.
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |