org.objectweb.proactive.core.process.rsh
Class RSHNodeProcess

java.lang.Object
  |
  +--org.objectweb.proactive.core.process.AbstractUniversalProcess
        |
        +--org.objectweb.proactive.core.process.AbstractExternalProcess
              |
              +--org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
                    |
                    +--org.objectweb.proactive.core.process.rsh.RSHProcess
                          |
                          +--org.objectweb.proactive.core.process.rsh.RSHJVMProcess
                                |
                                +--org.objectweb.proactive.core.process.rsh.RSHNodeProcess
All Implemented Interfaces:
ExternalProcess, ExternalProcessDecorator, JVMProcess, java.io.Serializable, UniversalProcess

public class RSHNodeProcess
extends RSHJVMProcess

This class has the same functionalities than RSHJVMProcess, except that the class associated with the target JVMProcess ie the class that the target process will start is set automatically to org.objectweb.proactive.core.runtime.startRuntime.

Since:
ProActive 0.9.4
Version:
1.0, 2002/09/20
Author:
ProActive Team
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
AbstractExternalProcessDecorator.CompositeMessageLogger, AbstractExternalProcessDecorator.CompositeMessageSink
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
AbstractExternalProcess.NullMessageLogger, AbstractExternalProcess.ProcessInputHandler, AbstractExternalProcess.ProcessOutputHandler, AbstractExternalProcess.SimpleMessageSink, AbstractExternalProcess.StandardOutputMessageLogger
 
Field Summary
 
Fields inherited from class org.objectweb.proactive.core.process.rsh.RSHJVMProcess
jvmProcess
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
targetProcess
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
clogger, errorMessageLogger, externalProcess, inputMessageLogger, IS_WINDOWS_SYSTEM, outputMessageSink
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
certificateLocation, command, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username
 
Fields inherited from interface org.objectweb.proactive.core.process.UniversalProcess
logger
 
Fields inherited from interface org.objectweb.proactive.core.process.ExternalProcessDecorator
APPEND_TO_COMMAND_COMPOSITION, GIVE_COMMAND_AS_PARAMETER, SEND_TO_OUTPUT_STREAM_COMPOSITION
 
Constructor Summary
RSHNodeProcess()
          Creates a new instance of RSHNodeProcess.
RSHNodeProcess(MessageLogger messageLogger)
          Creates a new instance of RSHNodeProcess.
RSHNodeProcess(MessageLogger inputMessageLogger, MessageLogger errorMessageLogger)
          Creates a new instance of SSHNodeProcess.
 
Methods inherited from class org.objectweb.proactive.core.process.rsh.RSHJVMProcess
getBootClasspath, getClassname, getClasspath, getJavaPath, getLog4jFile, getParameters, getPolicyFile, main, setBootClasspath, setClassname, setClasspath, setJavaPath, setJvmOptions, setLog4jFile, setParameters, setPolicyFile
 
Methods inherited from class org.objectweb.proactive.core.process.rsh.RSHProcess
buildRSHCommand, buildUnixRSHCommand, buildWindowsRSHCommand, internalBuildCommand
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
buildCommand, getCompositionType, getTargetProcess, handleOutput, internalStartProcess, setCompositionType, setTargetProcess, toString
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
buildEnvironmentCommand, buildUnixEnvironmentCommand, buildWindowsEnvironmentCommand, getErrorMessageLogger, getInputMessageLogger, getOutputMessageSink, handleError, handleInput, handleProcess, internalStopProcess, internalWaitFor, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
checkStarted, getCertificateLocation, getCommand, getEnvironment, getHostname, getPrivateKeyLocation, getSecurityFile, getUsername, isFinished, isStarted, setCertificateLocation, setEnvironment, setHostname, setPrivateKeyLocation, setSecurityFile, setUsername, startProcess, stopProcess, toString, waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.proactive.core.process.ExternalProcess
getErrorMessageLogger, getInputMessageLogger, getOutputMessageSink, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink
 
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess
getCertificateLocation, getCommand, getEnvironment, getHostname, getPrivateKeyLocation, getSecurityFile, getUsername, isFinished, isStarted, setCertificateLocation, setEnvironment, setHostname, setPrivateKeyLocation, setSecurityFile, setUsername, startProcess, stopProcess, waitFor
 

Constructor Detail

RSHNodeProcess

public RSHNodeProcess()
Creates a new instance of RSHNodeProcess.


RSHNodeProcess

public RSHNodeProcess(MessageLogger messageLogger)
Creates a new instance of RSHNodeProcess.

Parameters:
messageLogger - The logger that handles input and error stream of the target JVMProcess

RSHNodeProcess

public RSHNodeProcess(MessageLogger inputMessageLogger,
                      MessageLogger errorMessageLogger)
Creates a new instance of SSHNodeProcess.

Parameters:
inputMessageLogger - The logger that handles input stream of the target JVMProcess
errorMessageLogger - The logger that handles error stream of the target JVMProcess


Copyright © April 2004 INRIA All Rights Reserved.