Package org.jcsp.net.remote
Class SpawnerMessage
java.lang.Object
org.jcsp.net.remote.SpawnerMessage
- All Implemented Interfaces:
Serializable
Message sent from
RemoteProcess to SpawnerService listing the details of
the process that should be started and a network channel address for replying on.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ApplicationIDfinal NetChannelLocationfinal Stringfinal NodeFactoryfinal CSProcess -
Constructor Summary
ConstructorsConstructorDescriptionSpawnerMessage(CSProcess process, NetChannelLocation caller, NodeFactory factory, ApplicationID applicationID, String classPath) Constructs a new message. -
Method Summary
-
Field Details
-
process
-
caller
-
factory
-
applicationID
-
classPath
-
-
Constructor Details
-
SpawnerMessage
public SpawnerMessage(CSProcess process, NetChannelLocation caller, NodeFactory factory, ApplicationID applicationID, 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.
-