Package org.jcsp.net.remote
Class ChildProcess
java.lang.Object
org.jcsp.net.remote.ChildProcess
For use by the infrastructure only.
Process launcher for starting a child JVM. This class should not be used directly. On loading the
process to be started will be retrieved from the main SpawnerService
JVM and run. The
.NET node will be initialized using the factory supplied by the spawner. This may be either the
platform's default factory or one supplied to the proxy ChildProcess
processes.
The process started should not call System.exit
to terminate. If it does a
RemoteProcessFailedException
will be raised as an abrupt exit cannot be distinguished
from a .NET infrastructure failure.
If the process raises an exception, this will be forwarded to the caller if possible.
- Author:
- Quickstone Technologies Limited
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChildProcess
public ChildProcess()
-
-
Method Details
-
main
Program entry point. An argument will give the name of a temporary file that contains serialized representations of the process and other information required to locate the originating host.- Parameters:
args
- program command line arguments
-