CSP for Java
(JCSP) 1.1-rc4

Class ChildProcess

  extended by org.jcsp.net.remote.ChildProcess

public class ChildProcess
extends Object

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.

Quickstone Technologies Limited

Constructor Summary
Method Summary
static void main(String[] args)
          Program entry point.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ChildProcess()
Method Detail


public static void main(String[] args)
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.

args - program command line arguments

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.