Package org.jcsp.net.remote
Class SpawnerMessage
- java.lang.Object
-
- org.jcsp.net.remote.SpawnerMessage
-
- All Implemented Interfaces:
java.io.Serializable
class SpawnerMessage extends java.lang.Object implements java.io.SerializableMessage sent fromRemoteProcesstoSpawnerServicelisting the details of the process that should be started and a network channel address for replying on.
-
-
Field Summary
Fields Modifier and Type Field Description ApplicationIDapplicationIDNetChannelLocationcallerjava.lang.StringclassPathNodeFactoryfactoryCSProcessprocess
-
Constructor Summary
Constructors Constructor Description SpawnerMessage(CSProcess process, NetChannelLocation caller, NodeFactory factory, ApplicationID applicationID, java.lang.String classPath)Constructs a new message.
-
-
-
Field Detail
-
process
public final CSProcess process
-
caller
public final NetChannelLocation caller
-
factory
public final NodeFactory factory
-
applicationID
public final ApplicationID applicationID
-
classPath
public final java.lang.String classPath
-
-
Constructor Detail
-
SpawnerMessage
public SpawnerMessage(CSProcess process, NetChannelLocation caller, NodeFactory factory, ApplicationID applicationID, java.lang.String classPath)
Constructs a new message.- Parameters:
process- the process to be spawned.caller- the location of theRemoteProcess's channel for replies.factory- the optional factory for initializing the remote node.applicationID- the application ID that the remote node should adopt.classPath- the class path the remote JVM should use.
-
-