Package org.jcsp.net.remote
package org.jcsp.net.remote
Supports the remote spawning of processes at other nodes. A local proxy process strategy is used which
attempts to create similar effects to running the process locally. For example the run
method
of the proxy will not complete until the run
of the remote process completes so that a
conventional Parallel
can be used to synchronize on process termination. Also, any exceptions
raised by the remote process will be similarly raised at the local machine.
Refer to the description of RemoteProcess
for examples of use. Refer to
SpawnerService
for details of starting the server process to support the spawning of
additional JVMs at a node.
This package is currently in a beta state and the API may be subject to changes.
-
ClassDescriptionFor use by the infrastructure only.Launches a new JVM to run a process received by this spawner.A proxy process that runs locally while another process executes on a different node.Thrown if a remote process terminates abruptly with a non-zero error code.Wraps up a non-RuntimeException into a runtime exception that can be ignored or caught and rethrown if required.Message sent from
RemoteProcess
toSpawnerService
listing the details of the process that should be started and a network channel address for replying on.Services requests fromRemoteProcess
proxies to start up child JVMs running the actual processes.